@h21-map/yandex-drawing-manager
Advanced tools
Comparing version 40.1.0 to 45.1.0
@@ -643,3 +643,3 @@ function DrawingManager(map, opts) { | ||
me.map.panes.get('vertex').getElement().style.cursor = 'col-resize'; | ||
me._vertexMarkerAddEventListener(); | ||
me._centerMarker && me._vertexMarkerAddEventListener(); | ||
@@ -705,3 +705,3 @@ }; | ||
me._vertexMarker.events.add('drag', (event) => { | ||
if (!me._centerMarker) { return; } | ||
me.isMaxDistance = false; | ||
@@ -907,4 +907,4 @@ let coords = event.get('target').geometry.getCoordinates(); | ||
const position = { | ||
latitude: me._centerMarker.geometry.getCoordinates()[0], | ||
longitude: me._centerMarker.geometry.getCoordinates()[1] | ||
latitude: me._centerMarker && me._centerMarker.geometry.getCoordinates()[0] || me._circle.geometry.getCoordinates()[0], | ||
longitude: me._centerMarker && me._centerMarker.geometry.getCoordinates()[1] || me._circle.geometry.getCoordinates()[1] | ||
} | ||
@@ -911,0 +911,0 @@ const eventCircle = { |
@@ -5,3 +5,3 @@ | ||
"scope": "@h21-map", | ||
"version": "40.1.0", | ||
"version": "45.1.0", | ||
"description": "A library of Yandex Map JS API", | ||
@@ -8,0 +8,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
35809
848