On Jul 27, 11:44 am, Pether <[email protected]> wrote: > Ok, i noticed you changed something in the code. > What is the difference between; > > var markers = xmlDoc.documentElement.getElementsByTagName("marker"); > > and > > var markers = xmlDoc.getElementsByTagName("marker"); > > And what is the meaning with the; > > var bounds = new GLatLngBounds(); > > & > bounds.extend(point); > > You have added?
That centers the map on the bounds of the markers that are created. The map was being centered in a place where none of the markers were visible. > > And seems to be something wrong with my lat/lng, since the first > marker is supposed to be in finland, not out in the ocean. Yup. I noticed that too. But I don't know where the markers are supposed to be, just where they are... -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
