@react-google-maps/api
Advanced tools
Comparing version 2.10.1 to 2.10.2
{ | ||
"name": "@react-google-maps/api", | ||
"sideEffects": false, | ||
"version": "2.10.1", | ||
"version": "2.10.2", | ||
"description": "React.js Google Maps API integration", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -58,3 +58,3 @@ # @react-google-maps/api | ||
const onLoad = React.useCallback(function callback(map) { | ||
const bounds = new window.google.maps.LatLngBounds(); | ||
const bounds = new window.google.maps.LatLngBounds(center); | ||
map.fitBounds(bounds); | ||
@@ -61,0 +61,0 @@ setMap(map) |
6082446