Hi all,

 

In my application I am showing a MapView  with a cluster of moving
points. I need to seldom center the map on the midpoint of the cluster.

I am able to compute the midpoint position in screen coordinates (by
averaging the positions of all points of the cluster before drawing) but
I need to find out the midpoint position on the map.

 

Have you got any suggestion? Another useful use case should be allowing
the user to click on the map and retrieving the corresponding map
position... How can I compute the position from the pixel coordinate in
general?

 

 

Thanks for your help

 

Regards

 

Stefano   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to