Thanks Pil and Rossko! I've tested it now for a few species and it seems to work fine! Sorry for posting the large code piece in the previous message. Please feel free to remove it. Lennart
On 10 Juli, 14:46, Rossko <[email protected]> wrote: > > But I can't figure out where to put 'map.fitBounds(bounds);' > > At the end of your XML callback function, after the loop that > populates the bounds is complete. -- 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.
