Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@h21-map/yandex-drawing-manager

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@h21-map/yandex-drawing-manager - npm Package Compare versions

Comparing version 4.0.4 to 4.0.5

6

index.js

@@ -236,2 +236,3 @@ function DrawingManager(map, opts) {

var patch = [];
var _patch = [];
me._area = null;

@@ -258,2 +259,3 @@ me._setDrawing(false);

me._area.geometry.setCoordinates(patch);
_patch.push(event.get('coords'));
me.map.container.getElement().style.cursor = 'crosshair';

@@ -270,3 +272,3 @@ return false;

me._setDrawing(true);
me._area = new ymaps.Polygon([patch,], {}, options);
me._area = new ymaps.Polygon([_patch,], {}, options);
me.map.geoObjects.add(me._area);

@@ -282,3 +284,3 @@ me.vertexCount++;

if (me.isMoreArea) {
patchAreaLatLng = patch;
patchAreaLatLng = _patch;
let patchAreaLatLngMax = me.findRoundPoints(patchAreaLatLng, 0.001);

@@ -285,0 +287,0 @@ if (patchAreaLatLngMax) {

@@ -5,3 +5,3 @@

"scope": "@h21-map",
"version": "4.0.4",
"version": "4.0.5",
"description": "A library of Yandex Map JS API",

@@ -8,0 +8,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc