Yandex Marker Current Latlong Values ​​in Android

I cannot get the current latlong default values ​​of Marker in Android. I am really interested in capturing the current latlong values ​​from the position of the Android marker and yandex mobile devices exactly what I need. Has anyone used yandex maps to get the user's current location? Can you help.

Update 1

While researching this problem with Google and Yandex, I came across a link to the GPS Fix application from http://gpsfix.android.informer.com/ . After installing this application on the Android device and performing the “Start repairing”, the latlong values ​​currently provided in the SDK in my custom application are now closer to the marker value. But still, some points show above the buildings next to the road (I can configure this for now). I believe that the GPS fix app really helps clear the GPS cache? not sure if there is such a thing. I am still waiting for a clean solution that works without the support of another application.

Thanks Hemant

+5
source share
1 answer

You can try to do something like this

yandexMap.getMapController().getOverlayManager().getMyLocation().addMyLocationListener(new OnMyLocationListener() { @Override public void onMyLocationChange(MyLocationItem myLocationItem) { GeoPoint geoPoint = myLocationItem.getGeoPoint(); } }); 

GeoPoint can be converted to Google LatLng

0
source

All Articles