Hello, I'm having a problem setting the map's zoom using "getBoundsZoomLevel". The map is inside a module placed in a canvas that is used in a viewstack. The module is preloaded using ModuleManager's moduleInfo.factory.create() and then added to the canvas as an IVisualElement. This canvas initially is not visible. I want to set the map zoom before displaying the map to the user but when the map is not visible on the screen, getBoundsZoomLevel always returns 0. If I display the map and then hide it again, getBoundsZoomLevel returns the correct zoom according to the bounds passed as the parameter. The parent application communicates with the module via an interface which the module implements.
Any ideas are welcome, thanks for your time! -- 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.
