Hi there,

This is probably linear, but I can't seem to find the answer around.

I'm using the class MyLocationOverlay to represent the user on the
map.

mlo = new MyLocationOverlay(this, mapView) ;
              mlo.enableCompass();
              mlo.enableMyLocation();
              mapView.getOverlays().add(mlo);

It's working fine.. I'm just wondering, is it possible to take the
values of latitude and longitude from the current MyLocationOverlay
position? How does it work?

I've tried creating a geopoint with getMyLocation() so I could get the
lat/long from a location created with the geopoint but it's always
null.

Ive tried creating a Location with getLastFix() so I could get the lat/
long directly, but not successful either

Hope you can help.

Thank you very much in advance

-- 
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to