@h21-map/google-drawing-manager
Advanced tools
Comparing version 17.1.0 to 18.1.0
@@ -48,3 +48,3 @@ let drawModeMarker = "marker"; | ||
if (!google || !google.maps) { return; } | ||
const me = this; | ||
const me = this; | ||
me.markerOptions = opts.markerOptions || {}; | ||
@@ -349,3 +349,4 @@ me.circleOptions = opts.circleOptions || {}; | ||
DrawingManager.prototype._redrawArea = function () { | ||
let me = this; | ||
const me = this; | ||
google.maps.event.clearListeners(me, 'mousedown'); | ||
if (me.areaCoordinates) { | ||
@@ -373,5 +374,6 @@ let latlngs = me._convertlatlngs(); | ||
DrawingManager.prototype._convertlatlngs = function () { | ||
let me = this; | ||
const me = this; | ||
let latlngs = []; | ||
if (me.areaCoordinates.length > 0) { | ||
@@ -378,0 +380,0 @@ for (var n = 0; n < me.areaCoordinates.length; n++) { |
{ | ||
"name": "@h21-map/google-drawing-manager", | ||
"scope": "@h21-map", | ||
"version": "17.1.0", | ||
"version": "18.1.0", | ||
"description": "A library of Google Map JS API", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
33380
798