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

@h21-map/google-drawing-manager

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 6.2.0 to 6.5.0

15

index.js

@@ -221,2 +221,3 @@

google.maps.event.trigger(me, 'draw:area_create', me._convertCoordinates(me.vertexCount));
me.map.setOptions({ draggableCursor: me.map.get('draggableCursor')});
if (me.areaOptions.fitBounds) {

@@ -377,6 +378,7 @@ me._fitBoundsArea();

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

@@ -388,6 +390,8 @@ let item = me._area.getPath().getArray()[n];

}
positions.push(position);
geometry.push(latLng);
latLng.push(position);
geometry=positions;
id = 0;
}
positions.push(latLng);
geometry=positions[0];

@@ -416,3 +420,3 @@ arrayArea = {

if (id === cur) {
geometry.push(latLng);
geometry = positions[cur-1];
}

@@ -480,3 +484,3 @@ }

if (enabledCircle) {
me._bindCircle()
me._bindCircle();
}

@@ -766,2 +770,3 @@ me.position = null;

DrawingManager.prototype._centerMarkerAddEventListener = function () {
console.log('_centerMarkerAddEventListener')
let me = this;

@@ -768,0 +773,0 @@ google.maps.event.addListener(me._centerMarker, 'drag', function (event) {

{
"name": "@h21-map/google-drawing-manager",
"scope": "@h21-map",
"version": "6.2.0",
"version": "6.5.0",
"description": "A library of Google Map JS API",

@@ -6,0 +6,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