@h21-map/google-drawing-manager
Advanced tools
Comparing version 7.7.0 to 7.8.0
16
index.js
@@ -93,2 +93,16 @@ | ||
DrawingManager.prototype.reset = function () { | ||
const me = this; | ||
me._reset(); | ||
}, | ||
DrawingManager.prototype.isAnimateMarker = function (enabled) { | ||
const me = this; | ||
const shape = { | ||
coords: [26, 26, enabled && 80 || 100], | ||
type: 'circle', | ||
}; | ||
me._centerMarker && me._centerMarker.setOptions({ shape }); | ||
}, | ||
DrawingManager.prototype._fitBounds = function () { | ||
@@ -202,3 +216,3 @@ let me = this; | ||
google.maps.event.removeListener(moveUp); | ||
me.map.setOptions({ draggableCursor: 'crosshair' }); | ||
var path = me._area.getPath(); | ||
@@ -205,0 +219,0 @@ me._area.setMap(null); |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "7.7.0", | ||
"version": "7.8.0", | ||
"description": "A library of Google Map JS API", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31850
772