We try to restrict zoom out level of world map in my application and my application build on Ruby on rails 3.
We used "gmap4rails" gem for Google map but problem was world map will repeat multiple time on map area as you can see in attached image.
we required 3 section that will be good for user to visualization but if its 3,4 section then also its expectable but its repeat 5 time. please help us to restrict zoom out.
in gmap4rails we use minZoom and maxZoom option and its works for us below our code that we use thanks
= gmaps({"map_options" => {"auto_zoom" => false,"minZoom" => 2, "maxZoom" => 15,"zoom" => 2}, "markers" => {"data" => @latest_projects_json }})