Get your own customer support community
 

AS3 quirks with markers, providers, navigation

I'm building a Flex app with your nice map,and have run into a few snags. I suspect they are mostly just things you haven't completed yet in your flex.Map object, but I thought I'd mention them because maybe it's something I've got wrong.

1. Markers can't be created too early. I had to wait for the map to be displayed and zoomed. If I remember correctly, the zoom caused some variable to be initialized that is used to create unique marker IDs. It will be great when flex.Map can manage the marker objects directly.

2. The geo coords don't wrap, so if you pan around the world the markers disappear. Is there a way to clamp the pan (and zoom) to a range?

3. Setting the provider property on flex.Map doesn't seem to work.

4. Is there an easy way to animate to a location or zoom level through an API call?

You can see the current state of the experiment at http://plwmodelworks.com/map.

Looking forward to the next AS3 update! Thanks for the great work.

Follow this discussion to get notifications on your dashboard.


User_default_medium