@h21-map/google-drawing-manager
Advanced tools
Comparing version 12.1.0 to 14.1.0
@@ -198,2 +198,3 @@ | ||
google.maps.event.clearListeners(me, 'click'); | ||
me.map.setOptions({ clickableIcons: false }); | ||
let pathcLat = [] | ||
@@ -300,3 +301,3 @@ me._removeCenterMarker(); | ||
e = window.event || e; | ||
if (e.button == 2) { return; } | ||
if (e.button == 2 || e.detail > 2) { return; } | ||
createArea(); | ||
@@ -488,3 +489,3 @@ }); | ||
this._enableDraw && me.map.setOptions({ clickableIcons: true }); | ||
this._enableDraw && !enabledCircle && me.map.setOptions({ clickableIcons: true }); | ||
me._removeArea(); | ||
@@ -549,3 +550,2 @@ me._removeCenterMarker(); | ||
enabledCircle && me._bindCircle(); | ||
me.position = null; | ||
@@ -570,3 +570,2 @@ } | ||
DrawingManager.prototype._bindCircle = function () { | ||
let me = this; | ||
@@ -573,0 +572,0 @@ me._removeCircle(); |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "12.1.0", | ||
"version": "14.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
33768
808