Wasn't it Ben Rogerson who wrote: >I swapped it around so the points are plotted and the bounds extended >(bounds.extend(marker);) before the setZoom and setCenter:
The parameter of bounds.extend should be a GLatLng, not a GMarker. bounds.extend(marker.getLatLng()) -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
