Comments (3)
That was a recent change we did to the API, we are now using center
/defaultCenter
props like React-form elements. If you don't want to deal with the state, you can use defaultCenter
/defaultZoom
. See here: https://visgl.github.io/react-google-maps/docs/api-reference/components/map#controlled-and-uncontrolled-props
from react-google-maps.
(feel free to reopen if that doesn't solve your issue)
from react-google-maps.
Thanks a lot. It worked.
from react-google-maps.
Related Issues (20)
- [Feat] `useMap` should log an error when used outside the APIProvider context
- [Bug] Map will move when executing onClick function of Marker component HOT 1
- [Bug] Defining the optional autocomplete options caused a useEffect error HOT 2
- Can't import the named export 'Children' from non EcmaScript module (only default export is available) HOT 5
- [Bug] Some ControlPositions are causing my component to disappear HOT 2
- [Bug] Race Condition during event handlers initialization HOT 1
- [Bug] Invalid/Expired API key crashes the page HOT 4
- [Bug] Adding more than one class to AdvancedMarkers className throws an error
- onClick on AdvancedMarker to change Map zoom changes only once [Bug]
- [Bug] Rendering many Advanced Markers as map children is extremely slow HOT 16
- [Bug] Using an invalid API key throws an error rendering making the page go blank HOT 2
- How to make clusterization map + infoWindows for markers ? HOT 4
- [Bug] Multiple advanced markers with popups renders markers underneath the popup even with a higher z-index HOT 4
- [Feat] Load Google Maps API Async HOT 3
- Module not found: Error: Can't resolve 'fast-deep-equal/react' HOT 2
- Module not found: Error: Can't resolve '@vis.gl/react-google-maps' HOT 1
- Map is not draggable using NextJS [Bug] HOT 5
- [Bug] Error while importing 'APILoadingStatus'
- Map does not display unless width and height are specified HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-google-maps.