Can one safely call Map.validateSize(true) in Map.mapevent_mapready() to force it to have a size?
I'm using the styles "right" and "left" to let the Map expand to the available size, so I don't know what the size will be. Cheers On Feb 6, 10:40 pm, pamela fox <[email protected]> wrote: > Hi Richard- > > There are some functions that rely on knowing the size of the map - > getBoundsZoomLevel is one of those. If you need to calculate an > optimal bounds while the map doesn't have a size, you can use the > MapType.getBoundsZoomLevel function instead, and pass in a > size:http://code.google.com/apis/maps/documentation/flash/reference.html#M... > > - pamela --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
