Hi Richard- That function needs to know the size of the map. I'm just guessing at your use case, but my recommendation is that you setup the map with a best guess at the map-center, and then call getBoundsZoomLevel after.
- pamela On Thu, Feb 5, 2009 at 1:50 PM, Richard <[email protected]> wrote: > > Map.getBoundsZoomLevel() works great in every case except when I am > setting the map up and it is not rendered itself. > > In this case, it always returns 0 (zero). > > If this is the intended behavior, what's the recommended workaround? > validateNow()? a delay Timer ? > > Thanks > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
