519
questions
-1
votes
0
answers
15
views
Google Directions API - set transit mode to *prefer* ferries
Within the Google Directions API, is there a way I can specify my request to prefer to take a ferry when it is an option? In the documentation, all I can see is that I can set a parameter to avoid ...
-2
votes
1
answer
45
views
How to minimize queries when recalculating route?
We use Directions API but a single route recalculation can generate up to 2000 queries, it is too expensive, how can it be optimized?
We removed route recalculation and lowered the number of queries ...
0
votes
0
answers
47
views
Issues with Google Maps API Directions Not Returning Transit Data
I am encountering an issue with the Google Maps Directions API when trying to fetch directions using the transit mode. Despite specifying transit mode in the URL, the API often returns data for ...
0
votes
1
answer
71
views
Google map directions delay loading the itinerary
I'm using google map intent in my react native application has been almost one year without any problem passing the coordinates in this url allowing the user to open "Google maps" on ...
0
votes
0
answers
55
views
API project is not authorized to use this even no ristriction
I have a issue regarding
Directions API Response:
{
"error_message" : "This API project is not authorized to use this API.",
"routes" : [],
"status" : &...
-1
votes
1
answer
36
views
Is Travel time considered without the OPTIMIZED field being set to true? [closed]
Our service is wanting a consistent result when selecting a route based on various factors. We simply are looking to understand if there is any order to the resulting routes in the response. ...
1
vote
1
answer
200
views
Google maps API is returning ZERO_RESULTS for a directions request via API, but works on Google maps
Problematic call in question is:
https://maps.googleapis.com/maps/api/directions/json?origin=35.73455050,-95.31531510&destination=29.67404860,-95.54087240&waypoints=29.92853940,-95.29782860|29....
-2
votes
1
answer
204
views
Google API directions doesn't work at all with GPT assistant
I'm a low experience user so be patient with me please. I'm trying to create a GPT assistant to help me in my work and I need it to have access to Google Direction API to calculate distance between ...
0
votes
1
answer
195
views
How can I smoothen the line in Google Directions API?
I want to have smoother polylines displayed on the map.
See the screenshot of sharp polyline.
I found that "polylineQuality":"HIGH_QUALITY" is available in Routes Preferred API ...
1
vote
1
answer
145
views
Maps.newDirectionFinder() in Google Sheets Shows Loading Error
I have the following code:
function CALCULATE_DRIVING_DISTANCE(origin, destination) {
var directions = Maps.newDirectionFinder()
.setOrigin(origin)
.setDestination(destination)
.setMode(...
0
votes
0
answers
199
views
REACT: Google Maps API - Add Address from Places to Waypoint
I have created a map with three inputs for origin, destination and waypoint using Google Maps API with @React-Google-Maps/api. When I type addresses through places API in origin and destination input ...
0
votes
1
answer
320
views
Google Directions Api Problem on optimisation
i am using directions api with some waypoints. the thing is that its not optimized, it goes with the order of my array and not with the most efficient order.
i dont want the order of my array to take ...
0
votes
0
answers
77
views
How can I achieve a smooth direction update using DirectionsAPI (I'm using Google Maps API for my application)
private void getPlaceDetails(String placeName) {
// List<Place.Field> placeFields = Arrays.asList(Place.Field.ID, Place.Field.LAT_LNG);
AutocompleteSessionToken token = ...
0
votes
0
answers
40
views
How can I extract only a part of the road rather than analysing the whole road using GoogleMaps API?
I am using GoogleMaps Directions API to extract the main road one can take from origin to destination as an output.
Origin: Stuttgart, Germany
Destination: Frankfurt, Germany
Output: ['A6']
The ...
0
votes
1
answer
95
views
How do I mention only the major highways as output rather than local roads?
I am using Directions API to get a route segment (list of destinations to reach a particular destination).
origin = "New York"
destination = "Ohio"
output: ['2 Murray Street, New ...