in my loop i do this _bounds.extend(new LatLng(markerData.Lat[0] , markerData.Lon[0]))
//end loop then after loop is over i do this _map.setCenter(_bounds.getCenter()); _map.setZoom(_map.getBoundsZoomLevel(_bounds)) This works great when i have a bunch of markers I end up with an appropriate zoom level that show ALL markers in view port.. when my loop only has ONE marker the map is way too zoomed in -- beyond the max zoom level for the parts of Australia that I am mapping ... How to I stop the map going beyound the Max zoom Wayne McFetridge [EMAIL PROTECTED] 07 5450 2760 0408 882 019 PO Box 1219 Buderim 4556 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
