Determining where to animate the map given a list of GeoPoints

Posted by Itsik on Stack Overflow See other posts from Stack Overflow or by Itsik
Published on 2010-05-12T10:42:57Z Indexed on 2010/05/15 11:54 UTC
Read the original article Hit count: 197

Filed under:
|
|

My android application loads some markers on an overlay onto a MapView.
The markers are placed based on a dynamic list of GeoPoints.
I want to move the map center and zoom into the area with most items.
Naively, I can calculate the superposition of all the points, but I would like to remove the points that are very far from the mass of points from the calculation.
Is there a known way to calculate this ? (e.g. probability, statistics .. ?)

© Stack Overflow or respective owner

Related posts about android

Related posts about mapview