location - Android Maps Projection fromScreenLocation returns wrong geo position -
the google map provides on projection method, converts point geo position.
if pass e.x. point p = new point(-1000,1000), position -89.3425,140.0345. point outside visible part not found info if method has limitation current visible region.
has source code or more info ?
create rect
size of mapview
, utilize rect.contains(x,y)
check if given point within mapview
remember:
the screen location specified in screen pixels (not display pixels) relative top left of map (not top left of whole screen).
android location maps point
No comments:
Post a Comment