@react-google-maps/api
Advanced tools
Comparing version 1.2.3-alpha.6 to 1.2.3-alpha.7
@@ -32,2 +32,3 @@ /// <reference types="googlemaps" /> | ||
componentDidMount(): void; | ||
componentDidUpdate(prevProps: OverlayViewProps): void; | ||
componentWillUnmount(): void; | ||
@@ -34,0 +35,0 @@ render(): JSX.Element; |
@@ -92,2 +92,11 @@ "use strict"; | ||
}; | ||
OverlayView.prototype.componentDidUpdate = function (prevProps) { | ||
var _this = this; | ||
if (prevProps.position !== this.props.position || | ||
prevProps.bounds !== this.props.bounds) { | ||
setTimeout(function () { | ||
_this.state.overlayView !== null && _this.state.overlayView.draw(); | ||
}, 0); | ||
} | ||
}; | ||
OverlayView.prototype.componentWillUnmount = function () { | ||
@@ -94,0 +103,0 @@ if (this.state.overlayView !== null) { |
{ | ||
"name": "@react-google-maps/api", | ||
"version": "1.2.3-alpha.6", | ||
"version": "1.2.3-alpha.7", | ||
"description": "React.js Google Maps API integration", | ||
@@ -11,2 +11,6 @@ "license": "MIT", | ||
}, | ||
"contributors": [ | ||
"Uri Klar <uriklar@gmail.com> (https://github.com/uriklar)", | ||
"Ignat Awwit <ignatius.awwit@gmail.com> (https://github.com/awwit)" | ||
], | ||
"repository": { | ||
@@ -73,4 +77,4 @@ "type": "git", | ||
"lint": "npx eslint ./src/**/*.{ts,tsx}", | ||
"publish": "yarn build && npm publish .", | ||
"publish:next": "yarn build && npm publish . --tag next", | ||
"pub": "yarn build && yarn publish", | ||
"pub:next": "yarn build && npm publish . --tag next", | ||
"docs:dev": "npx styleguidist server", | ||
@@ -94,5 +98,5 @@ "docs:build": "npx styleguidist build", | ||
"@types/invariant": "2.2.29", | ||
"@types/jest": "^24.0.11", | ||
"@types/react": "^16.8.10", | ||
"@types/react-dom": "^16.8.3", | ||
"@types/jest": "24.0.11", | ||
"@types/react": "16.8.10", | ||
"@types/react-dom": "16.8.3", | ||
"@typescript-eslint/eslint-plugin": "1.5.0", | ||
@@ -124,4 +128,4 @@ "@typescript-eslint/parser": "1.5.0", | ||
"husky": "1.3.1", | ||
"jest": "^24.7.1", | ||
"jest-cli": "^24.7.1", | ||
"jest": "24.7.1", | ||
"jest-cli": "24.7.1", | ||
"react": "16.8.6", | ||
@@ -131,5 +135,5 @@ "react-docgen-typescript": "1.12.3", | ||
"react-styleguidist": "8.0.6", | ||
"react-testing-library": "^6.1.2", | ||
"react-testing-library": "6.1.2", | ||
"rimraf": "2.6.3", | ||
"ts-jest": "^24.0.2", | ||
"ts-jest": "24.0.2", | ||
"typescript": "3.4.1", | ||
@@ -136,0 +140,0 @@ "webpack": "4.29.6" |
# @react-google-maps/api | ||
![logo](https://github.com/JustFly1984/react-google-maps-api/blob/master/logo.png) | ||
@react-google-maps/api@1.2.2 | ||
@@ -4,0 +6,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
366221
189
7997
82