Questions tagged [map-directions]
151 questions
0
votes
1 answer
Use one waypoint as destination in Gmaps Api
I'm using gmaps Api to make a route for a person who have to visit a list of markets (my waypoints) to take note of their stocks. I'm using the user's house location for the origin of the route and the location of the markets as my waypoints. The…

Pablo García
- 359
- 3
- 9
0
votes
1 answer
Google Map JSON for low bandwidth networks
How to change google map JSON so that redundant stuff is not downloaded and speed up an app on low bandwidth networks. For example app doesn't support navigation hence steps are not required in JSON which is also downloaded and makes app slow on low…

Sajal Mittal
- 103
- 2
- 12
0
votes
2 answers
Calculate maneuver details from coordinates using javascript
I want to calculate the maneuver details (turn-left, turn-right, etc) from the coordinates array returned by google roads API. I know maneuver details only returned by google directions API. But If I draw custom routes using roads API then how do I…

Poles
- 3,585
- 9
- 43
- 91
0
votes
1 answer
Google Maps Roads API returns duplicate coordinates and placeIds
I'm implementing google maps roads API to pick up the coordinates where I clicked on the roads. But it returns more than expected coordinates and placeids. Suppose I set a direction from place A to place B using directions API then I clicked some…

Poles
- 3,585
- 9
- 43
- 91
0
votes
1 answer
Turn by turn voice navigation in android using OSMBONUSPACK
Hi I'm new to OSM is there any possible to develop/create turn by turn voice guidance in direction.Im using OSM MAPQUEST API.Also I have got route with ploy lines and route nodes also.?

Tamizh arasu
- 29
- 8
0
votes
1 answer
android get duration from maps.google.com directions
At the moment I am using this code to inquire google maps for directions from an address to another one, then I simply draw it on a mapview from its GeometryCollection. But yet this isn't enough I need also to extract the total expected duration…

urobo
- 786
- 2
- 8
- 19
0
votes
1 answer
How to get directions between two locations in the form of text in iOS
I remember there is an Google API which tooks either lat,long or from&to address, if we load that url on webview, it used to show the directions between two points in the form of Text. Can any one provide me the API to get text based directions. I…

Sudheer Kumar Palchuri
- 2,919
- 1
- 28
- 38
0
votes
1 answer
routes are not defined when calling calcRoute with params (latLng) - Google Maps
I need to call pass params to calcRoute() on click, what I am doing is:
function calcRoute(source,destt) {
var start = new google.maps.LatLng(source);
var end = new google.maps.LatLng(destt);
var request = {
origin:start,
…

Fahad Khan
- 1,635
- 4
- 23
- 37
0
votes
1 answer
Changing titles of endpoint markers in a Google Maps route
I have a simple test webpage, which displays driving directions:
It works well, but my problem is that the start and end markers of the shown route have the meaningless titles "A" and "B".
I would like to use ReverseGeocoding to fetch the titles of…

Alexander Farber
- 21,519
- 75
- 241
- 416
0
votes
1 answer
MapsDirectionsTask Windows phone is not populating the End Label
I wanted to display End Label in MapsDirectionsTask . I am using the below snippet
MapsDirectionsTask directionToATM = new MapsDirectionsTask();
LabeledMapLocation endLabelOnMap = new LabeledMapLocation("Test",
new…

Subhamoy
- 116
- 5
- 21
0
votes
1 answer
Display a link "Show directions" in infowindow
I have a map with several markers. I'd need to be able to display a link "Show directions" in the markers infowindow that would take the users to the maps.google.com and display the directions.
function setMarkers(map, locations) {
for (var i =…

Wokki
- 157
- 2
- 18
0
votes
1 answer
How to show "Turn left" "Turn right" messages on the route highlighted between two places on Google map?
I'm developing an application in which I need to display a message showing where to turn after user clicks a position on route highlighted with the help of directions on Google map.
There's this Groute class which provides much of the information…

neha
- 6,327
- 12
- 46
- 78
0
votes
0 answers
How to read polyline lat/long from directions?
I am trying to convert my v2 Google Maps code to v3 and I'm having problems getting the polyline from directions. Basically I am trying to get the lat/long all along the path at specific interval (every 100 miles or so). In the past I used…

Jeremy
- 1
0
votes
0 answers
Choose the closest destination from an array of options using the Google Directions api
I have a list of point of interests from which I need to select only the x closest ones from my point of origin.
I used the google distance matrix api in order to compute the walking time required to travel from the origin to each destinations. I…

Alexis Matelin
- 194
- 1
- 9
0
votes
0 answers
Estimated Time of Arrival using apple
Does apple give any api to calculate eta(Estimated Time of Arrival) between two locations like google directions api does?if yes then kindly give some reference of it.

Adnan Munir
- 129
- 7