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 31.1.0 to 36.1.0

18

index.js

@@ -194,5 +194,3 @@ let drawModeMarker = "marker";

if (!me.isMoreArea) {
me._removeArea();
}
!me.isMoreArea && me._removeArea();

@@ -383,3 +381,3 @@ if (me.isMoreArea && me.polygonArea.size === 5) { return false };

DrawingManager.prototype._setDrawing = function (enabled) {
let me = this;
const me = this;
me.map.setOptions({

@@ -393,3 +391,3 @@ draggable: enabled,

DrawingManager.prototype._fitBoundsArea = function () {
let me = this;
const me = this;
if (me._area) {

@@ -573,8 +571,6 @@ let patchLatLng = me._area.getPath().getArray()

me._circle.setMap(me.map);
// google.maps.event.trigger(me, 'draw:circle_create', this._getInfo());
me._circle.bindTo('center', me._centerMarker, 'position');
me.circleOptions.fitBounds && me._fitBoundsCircle();
me._fitBoundsCircle();

@@ -729,4 +725,4 @@ me._createVertexMarker();

let pixel = me.getXYbyEvent(event);
let ev = {
const pixel = me.getXYbyEvent(event);
const ev = {
pixel,

@@ -775,3 +771,3 @@ radius: Math.floor(me._circle.getRadius()),

let me = this;
const me = this;
me.fillColor = 'white';

@@ -778,0 +774,0 @@

{
"name": "@h21-map/google-drawing-manager",
"scope": "@h21-map",
"version": "31.1.0",
"version": "36.1.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