Questions tagged [driving-directions]

141 questions
3
votes
1 answer

Why can't I deep link directly to turn by turn navigation on any map app in iOS?

After some searching, I've discovered that there's nothing I can do from my app to open one of the major map apps and start turn by turn navigation immediately. (If you know, please tell me) In Google Maps, Apple Maps, and Waze, I can deep link into…
teradyl
  • 2,030
  • 23
  • 27
3
votes
1 answer

google maps export driving directions to kml file - java geogoogle

Sorry at first for my poor grammar. I am writing a program in Java using geogoogle (Google Geocoder Java API) http://geo-google.sourceforge.net/ I need from two specific points to get the walking directions between these points and also these info…
maiky
  • 3,096
  • 7
  • 25
  • 27
3
votes
1 answer

Google Maps - Autocomplete & Directions API - trigger onchange() for dropdown list?

I have Google Map and two inputs. Both of them use autocomplete, like this: //first input autocomplete var input1 = (document.getElementById('start')); var autocomplete1 = new google.maps.places.Autocomplete(input1); autocomplete1.bindTo('bounds',…
Wordpressor
  • 5,847
  • 19
  • 58
  • 93
3
votes
1 answer

Is there any way to determine the driving time between two locations using Apple's Maps API?

I am evaluating using google's Distance Matrix / Places / Maps API, versus Apple's Maps api for an iOS app. I am looking at the MKDirectionsRequest class, and I can't seem to find a way to determine what the driving time is between the two points.…
wfbarksdale
  • 6,962
  • 11
  • 60
  • 87
3
votes
1 answer

Driving route from my location to multiple destination in Google Maps Android API V2

can you help me how to draw a driving route from my location ( current location ) to a some locations which we manually enter in the program, so when we taped a marked location, a driving route will be drawn from my current location to the marked…
3
votes
3 answers

how to use method in AsyncTask in android?

In my application I use JSON webservice to get data from Google Navigation api. I use the code is below. I got the following exception android.os.NetworkOnMainThreadException. How to use AsyncTask? here is my code. Thanks.`public class…
Palaniraja
  • 233
  • 8
  • 26
3
votes
1 answer

How to programmatically launch map application in android to show direction?

My client asked me to show directions between two location. Therefore he wants that our application should launch map application of android and show direction between two location. I could not find the solution for this problem. Therefore can…
Sanchit Paurush
  • 5,926
  • 16
  • 63
  • 105
2
votes
1 answer

How to get driving direction data from geo points?

I want to get driving directions from source to destination from google maps. I written an app by following the below link. http://about-android.blogspot.com/2010/03/sample-google-map-driving-direction.html But, finally i got GeoPoints only. How to…
Yugandhar Babu
  • 9,911
  • 9
  • 39
  • 65
2
votes
2 answers

Providing simple address/driving directions with Google Maps

I have been pouring over the Google Maps API information, and for the life of me I can't seem to find an example, or figure out the exact right way of doing what I want. From a simple HTML layout I need to display a Google Map, with a single address…
Mitchel Sellers
  • 58,921
  • 13
  • 103
  • 170
2
votes
1 answer

Is there official API for google-maps driving navigation?

I've found that on Google support driving navigation on latest Android. http://www.google.com/mobile/navigation/index.html But, I can't find any kinds of API set to provide those kinds of functions. Is there navigation support API? or isn't it…
2
votes
1 answer

Persistent error of 'NOBODY' in wall collision procedure in simple car driving model in Netlogo

I am developing a model of simple car driving simulation in NetLogo. However, I am facing one major and minor problem. The procedures of the model are following: There must be a car generated in the center of the world with "size 3". Car can move…
2
votes
1 answer

Google Driving directions gadget not auto expanding

I am trying to embed the Google Driving directions gadget into an xhtml website. However when the location is set the gadget does not auto expand and holds the size defined in the original specification. The information is all pulled in, scrolling…
Robairto
  • 315
  • 1
  • 3
  • 6
2
votes
1 answer

Road Distance calculation available to Java

I am developing an Android app and want to get the road distance between 2 locations. If I understand correctly, the options are: Using the distanceTo() or distanceBetween() methods of the Location class — but this only provides the direct line…
user396707
  • 397
  • 1
  • 3
  • 14
2
votes
0 answers

Disable Waypoints on Google Maps Directions API

I am trying to create a service for the user to calculate the distance between two points using Google maps "draggable directions" as per this link. Draggable Directions I want to disable or disallow the user to add waypoints. My code is as…
2
votes
1 answer

Mapbox Directions API addWaypoint

I am working on a application and I want to get directions for more than 2 points Which I assume other than origin and destination other locations are waypoints. So I am trying to use directions.setWaypoint() to add waypoints to the map but it…
Tharindu
  • 620
  • 6
  • 15
1 2
3
9 10