Socket
Socket
Sign inDemoInstall

@react-google-maps/api

Package Overview
Dependencies
16
Maintainers
1
Versions
135
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

4

CHANGELOG.md
# Changelog
## 1.2.1 fix InfoBox rendering issue
## 1.2.0 Typescript refactoring

@@ -7,3 +9,3 @@

* Full embrace of strongly typed functionality. Autocomplete in your typescript projects out of the box.
* Added onLoad and onUnmount callback props for each component.
* Added onLoad and onUnmount callback props for each component.
* added addon MarkerClusterer

@@ -10,0 +12,0 @@

@@ -115,2 +115,3 @@ "use strict";

helper_1.unregisterEvents(this.registeredEvents);
this.state.infoWindow.close();
}

@@ -117,0 +118,0 @@ };

{
"name": "@react-google-maps/api",
"version": "1.2.0",
"version": "1.2.1",
"description": "React.js Google Maps API integration",

@@ -132,2 +132,2 @@ "license": "MIT",

"gitHead": "4c487da5fec5e5d9e86f8d445248353b1f532a59"
}
}
# @react-google-maps/api
@react-google-maps/api@1.1.0
@react-google-maps/api@1.2.1

@@ -71,3 +71,8 @@ > This library requires React v16.6 or later. If you need support for earlier versions of React, you should check out [react-google-maps](https://github.com/tomchentw/react-google-maps)

}}
onUnmount={map => {
// do your stuff before map is unmounted
}}
/>
```
Since 1.2.0 you can use onLoad and onMount props for each @react-google-maps/api component, ref does not contain API methods anymore.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc