@react-google-maps/api
Advanced tools
Comparing version 2.13.1 to 2.14.0
# Changelog | ||
## 2.14.0 fixed bugs with onDragEnd hooks, fixed PolygonF component, improved @react-google-maps/marker-clusterer component | ||
## 2.13.1 OverlayViewF component | ||
@@ -4,0 +6,0 @@ |
@@ -46,3 +46,3 @@ /// <reference types="google.maps" /> | ||
} | ||
declare function PolygonFunctional({ options, draggable, editable, visible, path, onDblClick, onDragEnd, onDragStart, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onRightClick, onClick, onDrag, onLoad, onUnmount, }: PolygonProps): null; | ||
declare function PolygonFunctional({ options, draggable, editable, visible, path, paths, onDblClick, onDragEnd, onDragStart, onMouseDown, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onRightClick, onClick, onDrag, onLoad, onUnmount, }: PolygonProps): null; | ||
export declare const PolygonF: import("react").MemoExoticComponent<typeof PolygonFunctional>; | ||
@@ -49,0 +49,0 @@ export declare class Polygon extends PureComponent<PolygonProps, PolygonState> { |
{ | ||
"type": "module", | ||
"name": "@react-google-maps/api", | ||
"sideEffects": false, | ||
"version": "2.13.1", | ||
"version": "2.14.0", | ||
"description": "React.js Google Maps API integration", | ||
@@ -88,7 +89,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@googlemaps/js-api-loader": "1.14.3", | ||
"@googlemaps/markerclusterer": "2.0.10", | ||
"@react-google-maps/infobox": "2.11.8", | ||
"@react-google-maps/marker-clusterer": "2.11.8", | ||
"@types/google.maps": "3.49.2", | ||
"@googlemaps/js-api-loader": "1.15.1", | ||
"@googlemaps/markerclusterer": "2.0.13", | ||
"@react-google-maps/infobox": "2.14.0", | ||
"@react-google-maps/marker-clusterer": "2.14.0", | ||
"@types/google.maps": "3.50.5", | ||
"invariant": "2.2.4" | ||
@@ -101,14 +102,14 @@ }, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "22.0.2", | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@rollup/plugin-typescript": "8.3.4", | ||
"@testing-library/react": "13.3.0", | ||
"jest": "28.1.3", | ||
"jest-cli": "28.1.3", | ||
"@rollup/plugin-commonjs": "23.0.2", | ||
"@rollup/plugin-node-resolve": "15.0.1", | ||
"@rollup/plugin-typescript": "9.0.2", | ||
"@testing-library/react": "13.4.0", | ||
"jest": "29.2.2", | ||
"jest-cli": "29.2.2", | ||
"react-docgen": "5.4.3", | ||
"react-docgen-typescript": "2.2.2", | ||
"react-styleguidist": "11.2.0", | ||
"react-styleguidist": "13.0.0", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.78.1", | ||
"rollup-plugin-dts": "4.2.2", | ||
"rollup": "3.2.5", | ||
"rollup-plugin-dts": "5.0.0", | ||
"rollup-plugin-terser": "7.0.2" | ||
@@ -115,0 +116,0 @@ }, |
# MarkerClusterer example | ||
```jsx | ||
const { GoogleMap, LoadScript, MarkerClusterer, Marker } = require('../../') | ||
const { GoogleMap, LoadScript, MarkerClusterer, MarkerF } = require('../../') | ||
const ScriptLoaded = require('../../docs/ScriptLoaded').default | ||
@@ -56,3 +56,3 @@ | ||
locations.map((location) => ( | ||
<Marker key={createKey(location)} position={location} clusterer={clusterer} /> | ||
<MarkerF key={createKey(location)} position={location} clusterer={clusterer} /> | ||
)) | ||
@@ -59,0 +59,0 @@ } |
@@ -34,3 +34,3 @@ # OverlayView example | ||
> | ||
<OverlayView | ||
<OverlayViewF | ||
position={center} | ||
@@ -49,5 +49,5 @@ mapPaneName={OverlayView.OVERLAY_MOUSE_TARGET} | ||
</div> | ||
</OverlayView> | ||
</OverlayViewF> | ||
</GoogleMap> | ||
</ScriptLoaded> | ||
``` |
@@ -37,3 +37,3 @@ # InfoWindow example | ||
<InfoWindow | ||
<InfoWindowF | ||
onLoad={onLoad} | ||
@@ -45,3 +45,3 @@ position={position} | ||
</div> | ||
</InfoWindow> | ||
</InfoWindowF> | ||
@@ -48,0 +48,0 @@ </GoogleMap> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Yes
6242252
40302
33
+ Added@googlemaps/js-api-loader@1.15.1(transitive)
+ Added@googlemaps/markerclusterer@2.0.13(transitive)
+ Added@react-google-maps/infobox@2.14.0(transitive)
+ Added@react-google-maps/marker-clusterer@2.14.0(transitive)
+ Added@types/google.maps@3.50.5(transitive)
- Removed@googlemaps/js-api-loader@1.14.3(transitive)
- Removed@googlemaps/markerclusterer@2.0.10(transitive)
- Removed@react-google-maps/infobox@2.11.8(transitive)
- Removed@react-google-maps/marker-clusterer@2.11.8(transitive)
- Removed@types/google.maps@3.49.2(transitive)
Updated@types/google.maps@3.50.5