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
-1 votes
1 answer
537 views

no api-key error massage

I have tried many ways and many places to enter the API key for but in all the cases, I get the error no-API-key. the request works fine in the postman, meaning the key works fine. the places I tried:...
Evik Ghazarian's user avatar
3 votes
1 answer
1k views

Google Maps snap to roads not returning all values

I'm passing the google maps "Snap to Road" api a list of 99 points. I only get back 85 points, which means I have some points missing that won't be snapped. Is there a way to get back all the points?...
Matt Westlake's user avatar
1 vote
0 answers
181 views

The supplied API key is not configured for use from this Android app in Google map Road Api(speed limit)

The supplied API key is not configured for use from this Android app in Google map Road Api Created API key with SHA1 & package name from API console(Premium account) Enabled road API My API key ...
selva kumar's user avatar
0 votes
1 answer
765 views

Set speed limits on Maps layer

I would like to create a map with a layer, like a traffic layer, but with the speed limits of roads (route, highway,...) with the différents speed. How can I create a layer with speed limits of all ...
Bastien Devillierre's user avatar
2 votes
1 answer
4k views

Roads API Snap to Road Using GeoJSON

I have 3 LineString features. I am trying to send coordinates from these 3 LineString features to the Roads API so I can get clean, snapped lines on the map. I've been trying to adapt the example ...
kaoscify's user avatar
  • 1,753
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
0 votes
1 answer
2k views

How to calculate distance using lists of coordinates with Google Maps Roads API

I'm generating static map with snapToRoads (since it accepts multiple waypoints). Given I have lists of coordinates, how can I calculate distance between those coordinates and sum it to get total ...
aldrien.h's user avatar
  • 3,605
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 ...
Valeriya's user avatar
  • 1,117
0 votes
2 answers
408 views

google map apikey works, but road apikey not working

I am using both road api and map api. But I can't get apikey for road api work, in comparison, the apikey for map works fine. Here is my apikey for road: AIzaSyDRknPaFTzqrmHCTyQ6QGcrQMjGFQtK7bg ...
user1470393's user avatar
1 vote
0 answers
592 views

Google Distance Matrix between two locations does not return results when origins and destinations are reversed

Inbound https://maps.googleapis.com/maps/api/distancematrix/json?origins=Mount+Monodnak&destinations=Boston+MA Outbound: https://maps.googleapis.com/maps/api/distancematrix/json?origins=Boston+MA&...
Erol's user avatar
  • 11
-1 votes
1 answer
2k views

How to use a response of SnapToRoad?

I would like to know how to received google maps SnapToRaod response in a javascript code and how I can use the response to generate the map with the SnapToRoad response (in javascript as well). I'm ...
João Oliveira's user avatar
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
0 votes
2 answers
5k views

Google Maps API - Show all local roads when zoomed out

Hi my first post on Stackoverflow. When viewing country areas in Google maps the screen is very sparse. I would like to make all local roads visible at a wider loom level. At present the local roads ...
Trevor Tighe's user avatar
0 votes
1 answer
169 views

Given a route how can we find the stating and ending GPS positions of it?

I need to find out the starting and ending GPS location of a given road using Google APIs. For example, how can we find out the starting and ending GPS locations of A1 Colombo-Kandy highway in Sri ...
Malintha's user avatar
  • 421
1 vote
1 answer
3k views

Determine intermediate lat/long at regular time interval in a route

I'm trying to determine a list of intermediate latitude & longitude assuming a given road route from source to destination. For example - Suppose my source is Kansas City, MO & destination is ...
opuser1's user avatar
  • 467

15 30 50 per page