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 23.1.0 to 24.1.0

16

index.js

@@ -54,2 +54,3 @@ let drawModeMarker = "marker";

me._isRedrawEvent = opts.isRedrawEvent;
me.radius = opts.circleOptions.radius;

@@ -59,6 +60,2 @@ me.markerOptions && me.setPosition(me.markerOptions.markerLatitude, me.markerOptions.markerLongitude);

if (me.circleOptions) {
me.circleOptions.radius = me.circleOptions.radius;
}
if (me.areaOptions) {

@@ -511,7 +508,7 @@ me.areaCoordinates = me.areaOptions.areaCoordinates;

me._centerMarker.setMap(me.map);
if (!enabledCircle) { google.maps.event.trigger(me, 'draw:marker_create', me._getPosition()); }
me.markerOptions.fitBounds && !enabledCircle && me._fitBoundsMarker();
me.markerOptions.isMarkerAnimate && !enabledCircle && me.isAnimateMarker(true);
if (!enabledCircle) { google.maps.event.trigger(me, 'draw:marker_create', me._getPosition()); }
if (me._isRedrawEvent && !enabledCircle) { me._enableDraw = true; }

@@ -576,3 +573,3 @@

center: me._centerMarker.getPosition(),
radius: Math.floor(me.radius),
radius: me.radius,
optimized: true,

@@ -583,2 +580,3 @@ });

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

@@ -594,3 +592,3 @@

me._centerMarkerAddEventListener();
google.maps.event.trigger(me, 'draw:circle_create', this._getInfo());
if (me._isRedrawEvent) { me._enableDraw = true; }

@@ -970,2 +968,2 @@

module.exports = { default: DrawingManager, DrawingManager: DrawingManager };
}
}
{
"name": "@h21-map/google-drawing-manager",
"scope": "@h21-map",
"version": "23.1.0",
"version": "24.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