Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed May 9, 2022
1 parent 4d6c6e6 commit 746ec5f
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 16 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ pnpm add vue3-baidu-map-gl
- [x] 基础地图
- [x] 地图控件
- [x] 地图覆盖物
- [ ] 多实例
- [ ] 地图插件
- [ ] 自定义地图样式

## License
[MIT licenses](https://opensource.org/licenses/MIT)
❤️开源不易❤️,点个star支持一下吧

❤️用心制作❤️,开源不易,点个star支持一下吧
24 changes: 12 additions & 12 deletions docs/.vuepress/sidebar.config.ts
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
const sidebarConfig = [
{
text: '指南',
children: ['/zh/guide/quick-start/']
text: 'Guide',
children: ['/guide/quick-start/']
},
{
text: '基础',
children: ['/zh/base', '/zh/base/com-events']
text: 'Base',
children: ['/base', '/base/com-events']
},
{
text: '控件',
children: ['/zh/control/custom', '/zh/control/navigation3d', '/zh/control/scale', '/zh/control/zoom']
text: 'Control',
children: ['/control/custom', '/control/navigation3d', '/control/scale', '/control/zoom']
},
{
text: '覆盖物',
text: 'Overlay',
children: [
'/zh/overlay/circle',
'/zh/overlay/label',
'/zh/overlay/marker',
'/zh/overlay/polygon',
'/zh/overlay/polyline'
'/overlay/circle',
'/overlay/label',
'/overlay/marker',
'/overlay/polygon',
'/overlay/polyline'
]
}
]
Expand Down
26 changes: 26 additions & 0 deletions docs/.vuepress/sidebar.config.zh.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
const sidebarConfig = [
{
text: '指南',
children: ['/zh/guide/quick-start/']
},
{
text: '基础',
children: ['/zh/base', '/zh/base/com-events']
},
{
text: '控件',
children: ['/zh/control/custom', '/zh/control/navigation3d', '/zh/control/scale', '/zh/control/zoom']
},
{
text: '覆盖物',
children: [
'/zh/overlay/circle',
'/zh/overlay/label',
'/zh/overlay/marker',
'/zh/overlay/polygon',
'/zh/overlay/polyline'
]
}
]

export default sidebarConfig
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ heroImage: /logo.png
heroText: Vue3 BaiduMap GL
actions:
- text: get started
link: /en/guide/quick-start
link: /guide/quick-start
features:
- title: Based on Vue3 + Ts
details: future-proof, better performance, better experience, better component type hints
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/overlay/marker.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ simple_red , simple_blue , loc_red , loc_blue , start , end , location , red1 ,
<Marker
:position="{ lat: 39.915185, lng: 116.400901 }"
:icon="{
imageUrl: '/logo.png',
imageUrl: 'https://yue1123.github.io/vue3-baidu-map-gl/dist/logo.png',
imageSize: {
width: 100,
height: 100
},
}"
dragging
enableDragging
/>
</Map>
</div>
Expand Down

0 comments on commit 746ec5f

Please sign in to comment.