@h21-map/google-drawing-manager
Advanced tools
Comparing version 7.3.0 to 7.4.0
10
index.js
@@ -221,3 +221,3 @@ | ||
google.maps.event.trigger(me, 'draw:area_create', me._convertCoordinates(me.vertexCount)); | ||
me.map.setOptions({ draggableCursor: me.map.get('draggableCursor')}); | ||
me.map.setOptions({ draggableCursor: me.map.get('draggableCursor') }); | ||
if (me.areaOptions.fitBounds) { | ||
@@ -390,7 +390,7 @@ me._fitBoundsArea(); | ||
latLng.push(position); | ||
position=positions; | ||
position = positions; | ||
id = 0; | ||
} | ||
positions.push(latLng); | ||
position=positions[0]; | ||
position = positions[0]; | ||
@@ -419,3 +419,3 @@ arrayArea = { | ||
if (id === cur) { | ||
position = positions[cur-1]; | ||
position = positions[cur - 1]; | ||
} | ||
@@ -472,3 +472,3 @@ } | ||
google.maps.event.trigger(me, 'draw:marker_create', me._getPosition()); | ||
if (!enabledCircle) { google.maps.event.trigger(me, 'draw:marker_create', me._getPosition()); } | ||
@@ -475,0 +475,0 @@ google.maps.event.addListener(me._centerMarker, 'click', () => { |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "7.3.0", | ||
"version": "7.4.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
31072