@h21-map/google-drawing-manager
Advanced tools
Comparing version 36.1.0 to 40.1.0
@@ -472,4 +472,6 @@ let drawModeMarker = "marker"; | ||
DrawingManager.prototype._bindMarker = function (enabledCircle) { | ||
let me = this; | ||
const me = this; | ||
console.log(me, enabledCircle) | ||
this.isDraw && !enabledCircle && me.map.setOptions({ clickableIcons: true }); | ||
@@ -496,3 +498,3 @@ me._removeArea(); | ||
position: me.position, | ||
icon: me.markerOptions.iconUrl, | ||
icon: enabledCircle ? me.circleOptions.iconUrl : me.markerOptions.iconUrl, | ||
raiseOnDrag: false, | ||
@@ -579,3 +581,3 @@ optimized: false, | ||
me._centerMarker.setCursor('move'); | ||
me._setIconMarker(me.markerOptions.iconUrl); | ||
me._setIconMarker(me.circleOptions.iconUrl); | ||
me._centerMarkerAddEventListener(); | ||
@@ -582,0 +584,0 @@ } |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "36.1.0", | ||
"version": "40.1.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
33455
800