Questions tagged [map-directions]
151 questions
13
votes
2 answers
Flutter Google Maps - Rotate marker according to the driving direction
Can anyone share a documentation / code sample for Flutter google maps plugin where I can rotate the marker ( ex: a car icon ) according to the driving direction. I saw this can be achieved on native library by rotating the marker. But couldn't fjnd…

Buddhika
- 577
- 2
- 6
- 20
13
votes
2 answers
Fetching all the coordinates along a route generated by Directions Service in Google Maps Apiv3
My application allows a user to select two points on the map and find a route between them using the Directions Service of the Google maps Apiv3. Then the coordinates along this route has to be saved to the database. I could successfully write all…

Shiridish
- 4,942
- 5
- 33
- 64
12
votes
2 answers
MKMapView Route/Directions
I found that the Google Maps API supports Directions through:
var map;
var directionsPanel;
var directions;
function initialize() {
map = new GMap2(document.getElementById("map_canvas"));
directionsPanel =…

Mark
- 16,906
- 20
- 84
- 117
11
votes
4 answers
Finding Direction in iPhone like in Compass?
Do any one have idea for finding true direction using iPhone? I want to implement such application in which I need to find direction in which iPhone is pointing and want to make application same as compass application in iphone 3GS.
Does iPhone 3G…

AppAspect
- 4,461
- 2
- 30
- 46
10
votes
4 answers
Link to iPhone map App from HTML page
Is there a way to link to directions in the iPhone map app from a html page?
We're placing an add in an iPhone app which will link to a mobile page on our website - we'd like to add a directions link, thus far google searches have been unrevealing.

toomanyairmiles
- 6,465
- 8
- 43
- 71
8
votes
3 answers
Inaccurate Google Maps Elevation Service response when splitting a too large path
This is a bit of a question with some level of detail to it, so let me first explain the situation, then my implementation and last the question so you understand best.
As of April 4 an update is added and the issues are narrowed down to one…

Ben Fransen
- 10,884
- 18
- 76
- 129
8
votes
1 answer
Displaying results of google direction web service without using javascript api
I am developing a application which will find direction between 2 points, display it on the google map and store it in server side so that I can render it again when needed also to compare one route to another route.
I have successfully used the…

Nitiraj
- 614
- 1
- 4
- 15
7
votes
1 answer
Generate walking directions with Maps app iOS
As of now, I successfully generate directions with Maps app from my app with the following code :
NSString *formattedGroceryAddress = [[NSString stringWithFormat:@"%@",((EnhancedUIActionSheet *)actionSheet).grocery.address]…

Johanisma
- 2,058
- 3
- 22
- 25
7
votes
0 answers
send direction to phone
I am using Google direction API to fetch directions for user while driving but on a webpage. I want once user is satisfied with direction I can send this to their phone,car,etc. where they can use google maps to navigate their way through.

Chris Ihure
- 219
- 1
- 7
7
votes
8 answers
Is it possible to get Google Maps Directions using HTTP requests?
Is it possible to use the Google Maps API router just using HTTP? Something like http://maps.google.com?from=blah?to=blah
And have it return some sort of XML or JSON representing the directions?

DevDevDev
- 5,107
- 7
- 55
- 87
7
votes
2 answers
Is there a way to override the Google Directions service zoom values?
I'm using the code below to get the route between two points:
directionsService.route(request, function(response, status) {
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setDirections(response);
}
}
It's working…

Asraf
- 333
- 1
- 10
- 24
6
votes
1 answer
Display Label for Each Waypoint Pin on Google Map API
I'm trying to add a label for each waypoint along the route, but I'm not quite sure how I should approach it. After doing some research, I understand that you can add a custom pin with label, but that's when I drop each pin manually. How can I do…

juminoz
- 3,168
- 7
- 35
- 52
6
votes
2 answers
Voice navigation possible in google map api?
How to I activate voice based directions using google map api v3?
I already implemented the maps which give directions from start to end points. But now I want to hear the name of my current location . Please help ?
I have it implemented in ios…

Faizan Haroon
- 107
- 2
- 9
5
votes
1 answer
how to change color of route in google map api after route is build
You will find many already answers showing how to build route with different colors on it how to change the color of route in google maps v3
I want to know how I can change the color once its already builded and rendered.
I have many different…

Basit
- 16,316
- 31
- 93
- 154
5
votes
2 answers
How to build inhouse map navigation for iOS application?
I have a requirement mentioned below:
Already have a floor plan map image
First detect current location on floor
Then select the destination location using floor plan map image
Now application should provide direction & distance for that source to…

Mrunal
- 13,982
- 6
- 52
- 96