We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13cc743 commit 4358a72Copy full SHA for 4358a72
1 file changed
README.md
@@ -46,6 +46,12 @@ BMapLoader({
46
v: "1.0",
47
type: "webgl",
48
ak: "填写你的ak密钥",
49
+ // 加载百度地图的工具库
50
+ library: [
51
+ {
52
+ lib: "DrawingManager"
53
+ }
54
+ ]
55
}).then((BMapGL) => {
56
const map = new BMapGL.Map("map");
57
map.centerAndZoom(new BMapGL.Point(116.404, 39.915), 11);
@@ -61,8 +67,8 @@ BMapLoader({
61
67
62
68
## RoadMap
63
69
64
-- [ ] 改用 typescript 重写,增强智能提示。
65
-- [ ] 支持加载百度地图的插件库。
70
+- [x] 改用 typescript 重写,增强智能提示。
71
+- [x] 支持加载百度地图的插件库。
66
72
73
# License
74
0 commit comments