Improve GPS accuracy - Android turn-by-turn map -
i building navigation application similar waze. have problem in accuracy of gps positions. when i'm driving car on street, marker position on sidewalk , across street. have similar precision waze , googlemaps position on street. i'm leaving accuracy fine did not work.
first must tell app there road/path, , snap location road or path.
you can use snap road api
https://developers.google.com/maps/documentation/roads/snap
you can make requests snaptoroads method of google maps roads api @ following url. requests must sent via https.
https://roads.googleapis.com/v1/snaptoroads?parameters&key=your_api_key parameter usage
required parameters
path — path snapped. path parameter accepts list of latitude/longitude pairs. latitude , longitude values should separated commas. coordinates should separated pipe character: "|". example: path=60.170880,24.942795|60.170879,24.942796|60.170877,24.942796.