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 9.3.0 to 10.3.0

11

index.js

@@ -514,5 +514,7 @@ function DrawingManager(map, opts) {

let positions = [];
let position = null;
let arrayArea = {};
let id = null;
if (!me.isMoreArea) {
let latLng = [];
for (var n = 0; n < coordinates.length; n++) {

@@ -524,7 +526,8 @@ let item = coordinates[n];

}
positions.push(position);
latLng.push(position);
position = positions;
id = 0;
}
positions.push(latLng);
position = positions[0];
let center = {

@@ -538,4 +541,6 @@ latitude: ymaps.util.bounds.getCenter(me._area.geometry.getBounds())[0],

positions,
position,
center: center,
}
console.log(eventArea, 'eventArea')
return { eventArea };

@@ -542,0 +547,0 @@

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

"scope": "@h21-map",
"version": "9.3.0",
"version": "10.3.0",
"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