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 16.1.0 to 17.1.0

11

index.js

@@ -35,6 +35,2 @@ let drawModeMarker = "marker";

google.maps.event.addListener(me.map, 'idle', () => {
google.maps.event.trigger(me, 'draw:zoom_map', me.map.getZoom());
});
};

@@ -52,3 +48,4 @@

DrawingManager.prototype.setDrawingMode = function (drawingType, opts) {
let me = this;
if (!google || !google.maps) { return; }
const me = this;
me.markerOptions = opts.markerOptions || {};

@@ -147,3 +144,3 @@ me.circleOptions = opts.circleOptions || {};

: me.map.setZoom(11);
me.map.setCenter(me._centerMarker.getPosition());
me.map.setCenter(me._centerMarker.getPosition());
}

@@ -512,3 +509,3 @@

me.markerOptions.fitBounds && me._fitBoundsMarker();
me.markerOptions.fitBounds && !enabledCircle && me._fitBoundsMarker();

@@ -515,0 +512,0 @@ if (!enabledCircle) { google.maps.event.trigger(me, 'draw:marker_create', me._getPosition()); }

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