Skip to content

Commit

Permalink
feat: docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
yue1123 committed Oct 1, 2022
1 parent 608ad56 commit 9f43a9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ yarn add vue3-baidu-map-gl
pnpm add vue3-baidu-map-gl
```
### Usage
按需导入
按需引入
```vue
<template>
<Map ak="YOUR_AK" />
Expand Down Expand Up @@ -52,7 +52,8 @@ app.mount('#app')
- [x] 地图覆盖物
- [x] 多实例
- [x] 自定义地图样式
- [ ] 地图插件
- [x] 地图插件
- [x] 轨迹动画插件

## License
[MIT licenses](https://opensource.org/licenses/MIT)
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pnpm add vue3-baidu-map-gl

### 完整引入

在 main.ts(或是 main.js)中引入
`main.ts`(或是 `main.js`)中引入

```ts{3,6}
import { createApp } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/hooks/useTrackAnimation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
通过该 hooks 可实现轨迹动画, 在轨迹动态播放的同时,视角跟随移动.

::: warning 注意
1. 使用该hooks前,请确保`TrackAnimation`插件正确的注册了
1. 使用该hooks前,请确保`TrackAnimation`插件正确的 [注册](../guide/#插件注册)
2. 由于在渲染动画时,数据资源是随着当前方位和坐标的改变而实时加载的,刚开始播放动画时画面可能会卡顿,属于正常现象。
3. 为了减少加载数据资源的性能损耗,在播放动画时隐藏了地图上的POI点。
:::
Expand Down

0 comments on commit 9f43a9e

Please sign in to comment.