On Mar 16, 9:46 am, Chamby90 <[email protected]> wrote: > I have been researching this issue for a while and it seems that it is > possible to have the map auto zoom to a lat,lng, and zoom level > depending on the markers set to the map. However, i have tried a > multitude of different uses of the getbounds function and just cannont > get it to work. > > I have a search filter the the user will use to decide what markers to > show on the map - and when the map loads it will return those > markers... However, i have to manually set up the coordinates and zoom > level for each location - which is obviously a huge pain. Check out > my link below to view the source code - if you think you can help me > but need more info let me know.
Have you seen Mike Williams' tutorial page on the subject? Part 14 Fitting the map zoom to the data http://econym.org.uk/gmap/basic14.htm -- Larry > > Thanks in advance > > Link to the map: > my site is:http://www.MappedApartments.com -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
