Skip to content

Commit

Permalink
✨ feat: 添加压缩后的min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chenglu4343 committed May 20, 2023
1 parent 566f601 commit b02bebb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions DrawingManager/src/DrawingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1603,9 +1603,10 @@ var BMAP_DRAWING_MARKER = "marker", // 鼠标画点模式
/** @type {Array} */
var initialStartPaths = initialOverlay.getPath();
var lastPoint = initialStartPaths[initialStartPaths.length - 1];
initialStartPaths.forEach(function (point) {
startAction({ point })
})

for(var i=0; i<initialStartPaths.length; i++){
startAction({ point:initialStartPaths[i] });
}

if(me._drawingType === 'polyline'){
startAction({ point:lastPoint })
Expand Down
Loading

0 comments on commit b02bebb

Please sign in to comment.