On May 30, 1:02 pm, macram <[email protected]> wrote: > Hi, > > I am getting lat longs from a sql database with a php as suggested in > the google tutorial but I am unable to get my bounding box right. I > want get all my points in the visible area. In my case > > http://srirama.zzl.org/m.html > > I plan to have a drop box where i can select a participant who were > tracked for 2 days. i have 10 participants. However, I am not able to > get this right. Also some participants are from another city, so the > extent has to change and fit to the points of that participant. > > Please guide.
Add all the points you want displayed to an empty LatLngBounds object. Then call map.fitBounds with that as the argument, -- Larry -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
