All Questions
Tagged with google-roads-api java
9
questions
0
votes
0
answers
655
views
I am getting "Cannot resolve method 'snapToRoads()' " error for the following code...how to fix it?
I am trying to use Google Roads api, in which want to call a method snapToRoads, but I am facing an issue.
I tried to use other method of snapToRoads, but it also shows same error
LatLng[] page = ...
0
votes
1
answer
491
views
Draw custom route on map [duplicate]
I have university area and its Google map routing is undefined inside university. I want to define the roads from academic building to parking because inside university the route on the map not shown....
0
votes
1
answer
572
views
Is there a good way to minimize load on Google Maps Roads API?
I am developing a proof of concept/prototype for an internal tool. The basic premise is, that we have a couple of units that have a GPS on them, and they report their location (with typical GPS ...
-1
votes
2
answers
641
views
How to extract the Lat/Long from Google Maps RoadsApi from a SnappedPoints response?
I am using the Google Maps Java API for the RoadsApi:
Docs: https://developers.google.com/maps/documentation/roads/intro
API: https://github.com/googlemaps/google-maps-services-java
My request is ...
0
votes
1
answer
871
views
Google Apis Nearest Roads to snap roads
I am new to use Google api nearest roads to snap the roads.
I was trying as in the below link:
Google api for nearest road
If I have to try the
https://roads.googleapis.com/v1/nearestRoads?...
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 ...
0
votes
0
answers
115
views
Match two java collections by property avoiding ConcurrentModificationException (example of Google Roads api)
I haven't found any similar questions, where one collection is accessed while looping through another. Most of the questions about two collections and loops refer to simultaneous looping through both ...
0
votes
1
answer
1k
views
How to request in roads api using snap to roads?
i would like to use the roads api to get the distance of my currentlocation and add the list of Latlng in onLocationChanged and to snap a set of coordinates (approx 100~200 points) to roads and that ...
1
vote
0
answers
951
views
Android Google Maps Polyline not showing on Map
I have made a class that have a method and a locaton listener. The locationListener will be executed every 2 seconds , gets the lat longs and will pass it to the Async Task. The Async Task class will ...