Skip to content

Commit

Permalink
doc(DrawingManager): update example. (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 1, 2023
1 parent cb3a555 commit aa84b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/drawing-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Example = () => {
isOpen={true}
enableDrawingTool={true}
drawingToolOptions={{
anchor: BMAP_ANCHOR_TOP_RIGHT,
anchor: window.BMAP_ANCHOR_TOP_RIGHT,
offset: new BMap.Size(5, 5)
}}
circleOptions={styleOptions}
Expand Down Expand Up @@ -93,7 +93,7 @@ const Example = () => {
isOpen: true, // 是否开启绘制模式
enableDrawingTool: true, // 是否显示工具栏
drawingToolOptions: {
anchor: BMAP_ANCHOR_TOP_RIGHT, // 位置
anchor: window.BMAP_ANCHOR_TOP_RIGHT, // 位置
offset: new BMap.Size(5, 5) // 偏离值
},
circleOptions: styleOptions, // 圆的样式
Expand Down

0 comments on commit aa84b63

Please sign in to comment.