Friday, June 25, 2010

Re: [android-developers] Re: Mapping (x,y) to (latitude,longitude)

GeoPoint X = mapView.getProjection().fromPixels(0, 0);
GeoPoint y = mapView.getMapCenter();

I get 32000000,-16000000 on both values! Which is actually the value I set on DMMS simulator of my last position. My map starts on the user current position, which are those values that I generated in DMMS

On Jun 25, 2010, at 5:41 PM, Frank Weiss wrote:

Please tell what values you get from
mymap.getProjection().fromPixels(0, 0) versus what values you get from
mymap.getMapCenter().

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Pedro Teixeira


No comments:

Post a Comment