Select to view content in your preferred language

Stage to Map Coordinates

684
2
12-12-2011 12:44 PM
JamesOBrien
Emerging Contributor
I'm trying to convert the stage coordinates of a custom component to map coordinates. What is the best way to achieve this?

Thanks
Tags (2)
0 Kudos
2 Replies
JamesOBrien
Emerging Contributor
Nevermind, I found the answer in the API docs.

Map.toMapFromStage(stageX:Number, stageY:Number):MapPoint
0 Kudos
JeffAzevedo
Deactivated User
Are you placing a Flash Component? I'm trying to overlay a swf, and any advice you have would be appreciated.
0 Kudos