We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3a555 commit aa84b63Copy full SHA for aa84b63
1 file changed
packages/drawing-manager/README.md
@@ -38,7 +38,7 @@ const Example = () => {
38
isOpen={true}
39
enableDrawingTool={true}
40
drawingToolOptions={{
41
- anchor: BMAP_ANCHOR_TOP_RIGHT,
+ anchor: window.BMAP_ANCHOR_TOP_RIGHT,
42
offset: new BMap.Size(5, 5)
43
}}
44
circleOptions={styleOptions}
@@ -93,7 +93,7 @@ const Example = () => {
93
isOpen: true, // 是否开启绘制模式
94
enableDrawingTool: true, // 是否显示工具栏
95
drawingToolOptions: {
96
- anchor: BMAP_ANCHOR_TOP_RIGHT, // 位置
+ anchor: window.BMAP_ANCHOR_TOP_RIGHT, // 位置
97
offset: new BMap.Size(5, 5) // 偏离值
98
},
99
circleOptions: styleOptions, // 圆的样式
0 commit comments