Top "React-google-maps" questions

Questions regarding Reactjs component for google maps by tomchentw.

How to access google.maps.Map object with react-google-maps

I have a pretty simple react application using https://github.com/tomchentw/react-google-maps but I'm having difficulty understanding how to …

javascript reactjs google-maps google-maps-api-3 react-google-maps
Display Directions with React Google Maps

I am new to React and am attempting to use google maps to display directions. I have been able to …

reactjs google-maps react-google-maps
Google map cluster custom image

I would like to change google map clustering with custom image. However, it does not change anything I provide. This …

javascript reactjs google-maps react-google-maps
How to use fitBounds in react-google-map once you have bounds

Where exactly do I call fitBounds or map.fitbounds. I am confused where to put it once I have the …

reactjs google-maps google-maps-api-3 react-google-maps
React Google Map InfoWindow showing all the info when I click on a single Mark

For some reason when I click on a single Marker all the InfoWindow shows up. I expected one InfoWindow show …

javascript reactjs google-maps infowindow react-google-maps
How i draw a route with react-google-maps component?

I'm traying to draw a route between two points with react-google-maps but is not working for me. Can u help …

javascript reactjs routes react-google-maps
How to add marker on map by Click using react-google-maps?

I'm struggling to find a very simple example of how to add a marker(s) to a Google Map when …

javascript reactjs google-maps google-maps-api-3 react-google-maps
react-google-maps: how to use fitBounds, panBy, panTo, panToBounds public APIs?

According to the React Google Maps library, you can call these four methods from the ref object. What seems weird, …

reactjs google-maps google-maps-api-3 react-google-maps
Reposition the center of the map when the location changes?

Hi folks I'm using the react-google-maps library. I'm trying to recenter my map (zoom where the marker is) every time …

reactjs google-maps react-google-maps