Dan Monego
Dan Monego

Reputation: 10117

ArcGIS Flex API: Convert a screen point to a MapPoint

Using the ArcGIS Server Flex API, is there a way to convert mouse coordinates on the screen or the a map control to spatial coordinates in the map? It seems like there's functionality to convert map points to screen points, but a function for converting in the other direction seems weirdly absent.

Upvotes: 3

Views: 2253

Answers (2)

dond
dond

Reputation: 158

hector: You really should ask this as a question, or you could look into the documentation. Method toScreen() is just what you want.

Upvotes: 0

geowa4
geowa4

Reputation: 41833

I think this method should help

Upvotes: 3

Related Questions