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

react-google-maps

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-maps - npm Package Compare versions

Comparing version 4.10.3 to 4.11.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="4.11.0"></a>
# [4.11.0](https://github.com/tomchentw/react-google-maps/compare/v4.10.3...v4.11.0) (2016-05-29)
### Features
* **OverlayView:** allow rendered as children of MarkerCluster ([435961a](https://github.com/tomchentw/react-google-maps/commit/435961a)), closes [#187](https://github.com/tomchentw/react-google-maps/issues/187)
<a name="4.10.3"></a>

@@ -2,0 +12,0 @@ ## [4.10.3](https://github.com/tomchentw/react-google-maps/compare/v4.10.2...v4.10.3) (2016-05-29)

@@ -217,2 +217,17 @@ "use strict";

// If we're inside a MarkerClusterer, allow ourselves to be clustered
if (overlayViewProps.anchorHolderRef) {
if ("MarkerClusterer" === overlayViewProps.anchorHolderRef.getAnchorType()) {
overlayView.getDraggable = function getDraggable() {
return !!overlayViewProps.draggable;
};
overlayView.getPosition = function getPosition() {
return new google.maps.LatLng(this.position);
};
overlayViewProps.anchorHolderRef.getAnchor().addMarker(overlayView);
}
}
return overlayView;

@@ -219,0 +234,0 @@ }

2

package.json
{
"name": "react-google-maps",
"version": "4.10.3",
"version": "4.11.0",
"description": "React.js Google Maps integration component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -172,2 +172,17 @@ import {

// If we're inside a MarkerClusterer, allow ourselves to be clustered
if (overlayViewProps.anchorHolderRef) {
if (`MarkerClusterer` === overlayViewProps.anchorHolderRef.getAnchorType()) {
overlayView.getDraggable = function getDraggable() {
return !!overlayViewProps.draggable;
};
overlayView.getPosition = function getPosition() {
return new google.maps.LatLng(this.position);
};
overlayViewProps.anchorHolderRef.getAnchor().addMarker(overlayView);
}
}
return overlayView;

@@ -174,0 +189,0 @@ }

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