@h21-map/google-drawing-manager
Advanced tools
Comparing version 31.1.0 to 36.1.0
18
index.js
@@ -194,5 +194,3 @@ let drawModeMarker = "marker"; | ||
if (!me.isMoreArea) { | ||
me._removeArea(); | ||
} | ||
!me.isMoreArea && me._removeArea(); | ||
@@ -383,3 +381,3 @@ if (me.isMoreArea && me.polygonArea.size === 5) { return false }; | ||
DrawingManager.prototype._setDrawing = function (enabled) { | ||
let me = this; | ||
const me = this; | ||
me.map.setOptions({ | ||
@@ -393,3 +391,3 @@ draggable: enabled, | ||
DrawingManager.prototype._fitBoundsArea = function () { | ||
let me = this; | ||
const me = this; | ||
if (me._area) { | ||
@@ -573,8 +571,6 @@ let patchLatLng = me._area.getPath().getArray() | ||
me._circle.setMap(me.map); | ||
// google.maps.event.trigger(me, 'draw:circle_create', this._getInfo()); | ||
me._circle.bindTo('center', me._centerMarker, 'position'); | ||
me.circleOptions.fitBounds && me._fitBoundsCircle(); | ||
me._fitBoundsCircle(); | ||
@@ -729,4 +725,4 @@ me._createVertexMarker(); | ||
let pixel = me.getXYbyEvent(event); | ||
let ev = { | ||
const pixel = me.getXYbyEvent(event); | ||
const ev = { | ||
pixel, | ||
@@ -775,3 +771,3 @@ radius: Math.floor(me._circle.getRadius()), | ||
let me = this; | ||
const me = this; | ||
me.fillColor = 'white'; | ||
@@ -778,0 +774,0 @@ |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "31.1.0", | ||
"version": "36.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
33361
799