Trace the location only on Road in Google maps V2 android -


i want show current location of user on road(not beside of road) while moving. have used locationmanager current location. getting location beside road, this, location point on map showing beside road. actually, have show location on road(if beside road) only. searched lot didn't idea.

example: how getting current locations on map.

    m 

a---n-------b

here,
a start point
b end point
n on road(current location sometime)
m beside road(current location)

but need m should on road.

please me on this..

the locationmanager old way of tacking user location, should upgrade fused location provider better accuracy. nice thing use providers (network, gps, sensors,...) report accurate location possible. location tracking going have inaccuracies travel around. best results make sure have included access_fine_location permission in manifest.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -