I had a blog for Google map auto zoom. http://michaeltechzone.blogspot.com/2008/12/google-maps-api-dynamically-calculate_31.html There is example of using it: http://www.allhotelmotel.com
For GWT, you can reference bestFitWithCenter method and apply to your GWT module. I used it for my client new site, in hotel search result page map view tab. http://www.holidayinn.com/hotels/us/en/reservation On Aug 10, 1:59 am, lumo <lumo2...@gmail.com> wrote: > Hello NG! > > i am painting multiple markers on a map and need to change the zoom > level afterward so the user can see all of the markers in the viewing > area. > i already calculate the center position right, but deciding the zoom > level brings me to a problem. > > how can i calculate which zoom level i need? is there a special sense > behind the levels? > > i found an article about the scale of the levels, but i am not sure if > this is correct...http://laudontech.com/GISBlog/?p=28 > would be great if someone can bring light into this (for me) > > thanks a lot in advance > lumo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---