Questions tagged [map-directions]

151 questions
-1
votes
1 answer

Google Directions Services: InvalidValueError, being thrown in productions but not on localhost

I am passing long/lat coordinates in an array (coords2) to Googles Direction Services to return points on a map. When using the development server (localhost) all works great with JSON data for multiple point returned as expected from the request.…
JCG31
  • 1
-1
votes
1 answer

Google Map's DirectionsRenderer with OpenLayers

Our app uses OpenLayers with the Google Map layer. I want to know if it is possible to render directions using the DirectionsRenderer api of Google Maps on this OpenLayers map? The example here -…
-1
votes
2 answers

How do limit a Route by time?

I'm trying to generate a Route with Google Directions API. Generating the Route is not the problem, but I`d like to load the Route points by limiting the route in 9 hours or (32.400 secs) I tried putting it inside a While (Loop), the process…
-1
votes
1 answer

Create html link that starts the navigation on mobile phone using native app

I want to add a link on my website to start a navigation to the specific coordinates or to show some icon on that coordinates, so you can see your position and the position you need with a big zoom (it will be used when the person is near it). I…
Zhenya
  • 271
  • 1
  • 4
  • 15
-1
votes
1 answer

org.xml.sax.SAXParseException: Unexpected token while parsing json

I am creating an app in which i am using google map user can draw route and get directions all is going well but problem is that how i can get step by step direction from html_instruction like below : "legs" : [ { "distance" : { …
-1
votes
1 answer

How to get a list of latitude longitude points for Pedestrian navigation using Google Directions API

I need to fetch the list of latitude and longitudes of a complete route to be used by pedestrians. I know i can get route segment points using the Google Directions API but problem comes when there is a turn in the route. I need very accurate…
Wahib Ul Haq
  • 4,185
  • 3
  • 44
  • 41
-2
votes
1 answer

PYTHON: Google API directions layers gives OVER_QUERY_LIMIT while displaying route between multiple points after 10 requests

I am working on a project to display routes using google map distance API between point A and B coming from a dataframe, I keep getting the error of " [directions layer] You have sent too many directions request. Wait until your quota replenishes".…
-2
votes
1 answer

Is it possible in mapbox directions api to avoid a certain point?

I need the app to generate a route that avoids a specific point/points. Is it possible? private void getRoute(Point origin, final Point destination) { NavigationRoute.builder(this) .accessToken(Mapbox.getAccessToken()) …
-2
votes
1 answer

Drawing custom route

i am developing app for people who are travelling across countries, and also when they travel, they can bring up their pet to give someone to keep their pet for some time (pet adoption app, and will be used for adoption organizations , so they can…
Igor Lerinc
  • 65
  • 10
-2
votes
1 answer

Is there any chance to change drag map direction key(Alt+Shift+Drag) to Ctrl+Drag in openlayers 5(keybinding)

in my app am using angular 6 and openlayers V5. am very new for this openlayers i have done directions, am able to set view direction(input client's choice) i have changeling to drag on map directions using Ctrl+Drag instead of…
kks
  • 342
  • 5
  • 25
-2
votes
1 answer

Google Directions API - Route to a wider area

I think it might be impossible, but I wanted to check with you guys. The Google Directions API. Is it possible to calculate the route to a larger area, rather than pin-pointing to a Lat and Long? E.g. Imagine a huge national park.. there are many…
-2
votes
1 answer

Adding MarkerOptions Object to the DirectionsRenderer in google API

So I want to change the look of the markers on the google maps direction service and can't figure out how. According to Google developers I can use MarkerOptions to specify what I want the markers to look like. Can someone tell/show me how to add…
-3
votes
1 answer

google maps directionsService giving wrong results

I am trying to get distance in miles and estimated time with googles directionsService. It sort of works but I know the results its giving me are incorrect. The distance and time are too short? I need results in driving mode. A sample of the code is…
larry chambers
  • 473
  • 1
  • 6
  • 19
-3
votes
1 answer

Blacklisting closed roads on MapQuest Directions API

I'm developing an Android application that collects information about interrupted roads, sports events, celebrations or changes in the direction of traffic and tries to provide directions avoiding the roads where do these events take place. As I've…
Ricardo Faria
  • 764
  • 13
  • 30
1 2 3
10
11