How to zoom in to a particular coordinates in gmaps4rails. suppose at the index page of my application i want to show addresses of all users but want that initially the map should focus on USA and with a certain zoom level
Thanks in advance
How to zoom in to a particular coordinates in gmaps4rails. suppose at the index page of my application i want to show addresses of all users but want that initially the map should focus on USA and with a certain zoom level
Thanks in advance
After your gmaps call:
The zoom will be adapted to the bounds passed, otherwise add:
A cleaner approach is to use the callback provided by google: