Questions tagged [fitbounds]
92 questions
-2
votes
1 answer
FitBounds doesnt work in googlemaps javascript
I have a map and a list of markers, each of which has a position in LatLng object. The position is valid because i can see the markers on the map. However i want to fit the map to the markers so i use the proper syntax as below.
However the map…

james04
- 1,580
- 2
- 20
- 46
-3
votes
1 answer
Google maps fitBounds with padding?
We want something like this leaflet fitBounds in our google maps application. We saw a few examples but it doesn't worked as expected. We tried to make the div as a google maps controller, extend the bounds manually but nothing from that…

erzzo
- 17
- 1
- 3