Skip to content

Commit 4358a72

Browse files
authored
Update README.md
1 parent 13cc743 commit 4358a72

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ BMapLoader({
4646
v: "1.0",
4747
type: "webgl",
4848
ak: "填写你的ak密钥",
49+
// 加载百度地图的工具库
50+
library: [
51+
{
52+
lib: "DrawingManager"
53+
}
54+
]
4955
}).then((BMapGL) => {
5056
const map = new BMapGL.Map("map");
5157
map.centerAndZoom(new BMapGL.Point(116.404, 39.915), 11);
@@ -61,8 +67,8 @@ BMapLoader({
6167

6268
## RoadMap
6369

64-
- [ ] 改用 typescript 重写,增强智能提示。
65-
- [ ] 支持加载百度地图的插件库。
70+
- [x] 改用 typescript 重写,增强智能提示。
71+
- [x] 支持加载百度地图的插件库。
6672

6773
# License
6874

0 commit comments

Comments
 (0)