Skip to main content

Questions tagged [google-roads-api]

The Google Roads API identifies the roads a vehicle was traveling along and provides additional metadata about those roads, such as speed limits.

google-roads-api
4 votes
1 answer
5k views

PolyLine is not on the roads: it goes straight from one point to other

My map contains multiple points to tap the location of the user from where he passes, but the polyline is not shown on the roads, but shows a direct line from one marker to other. I want my polyline ...
Rana Arslan's user avatar
2 votes
2 answers
4k views

How to update marker using live location along a polyline?

My question titles seems to be an existing one, but here is my complete scenario. I have an activity for Map based operations, where am drawing a polyline along a road, lets say a route between two ...
Sanoop Surendran's user avatar
5 votes
1 answer
1k views

How can I extrapolate farther along a road?

Given realtime location data of a moving device over a short period of time, how can I get a lat/long pair further along this road, say, 2 miles, or even better, 5 minutes worth of driving? I see ...
Ken's user avatar
  • 2,964
1 vote
1 answer
241 views

Roads googleapi: Some places missing and lines passing through edifices

I'm using the Roads Google API passing a list of positions and I want to paint lines in the most probable road driven by a car by these points. Something is going wrong because some points are not ...
NullPointerException's user avatar
1 vote
2 answers
2k views

Google Map Road API not interpolating path and not giving smooth route

I am trying to get smooth route for below route path using road API in Roads Inspector but not getting smooth route.Google road api failing to provide smooth route.Some portion of route is not smooth ...
Shankar Phadatare's user avatar
0 votes
1 answer
1k views

Google Maps Roads API returns duplicate coordinates and placeIds

I'm implementing google maps roads API to pick up the coordinates where I clicked on the roads. But it returns more than expected coordinates and placeids. Suppose I set a direction from place A to ...
Poles's user avatar
  • 3,672
0 votes
1 answer
693 views

Google Road Api SnapToRoad golang

I was trying to implement google's snaptoroad api. But I am not getting any output. I am using golang for the implementation. My Code is as follows: mapClient, err := maps.NewClient(maps....
Arjun Ajith's user avatar
  • 1,880