Questions tagged [map-directions]
151 questions
1
vote
0 answers
How do I allow the user to print directions from Bing Maps?
I have assembled javascript code that will display route and along with the directions. How do I enable the print option for these directions? I went through the documentation but couldn't locate any option that will allow the user to print the…

abhi
- 3,082
- 6
- 47
- 73
1
vote
1 answer
Google maps api status NOT FOUND R
I created my function for accessing Google maps API. I am trying to find out how long does it take from different points to a target location.
getDuration <- function(from,to,tMode,key){
from <- iconv(from, to="UTF-8")
to <- iconv(to,…

Grigory Sharkov
- 121
- 1
- 8
1
vote
1 answer
How can i use the features of travel_mode: transit and transit_mode: rail for my android application?
I am developing an application that will show the duration, transit and fares for railway journey but i cant find any way to use the features provided in google directions api for android. how to retrieve the data from the json file? and the mode:…

bell
- 11
- 1
1
vote
1 answer
Google Maps API: Directions don't minding if street is one way or not
I want to draw direction from point A to B to C to D to .....
and I want to see only the map with directions (without text directions next to it)
Problem is if I use G_TRAVEL_MODE_DRIVING it displays me directions minding if the street is one way or…

vale4674
- 4,161
- 13
- 47
- 72
1
vote
2 answers
Associate sensored GPS location to path from direction API
I have the following question: is there any way to associate GPS location data to a previously downloaded route from the google directions API? I know that there is the Snap-to-roads API but I want to force it to associate to a point on that…

Poider12
- 223
- 3
- 15
1
vote
1 answer
Adding a marker image to Google Maps on IOS Objective-C app
I have a map to show directions. I am able to tap on a direction to view an annotation with the instructions but what I am trying to do is add a marker to the directions coordinates. Here is the code I am currently using:
-(void)…

jampez77
- 5,012
- 7
- 32
- 52
1
vote
2 answers
Google Directions Service API 3 Return Wrong Result to Map
Am Using google Direction Service to find map the Two Address stated Below
var start = "2115 First Avenue SE Unit 1306, Cottage Grove Place, Cedar Rapids, IA, 52402"; //Set the source/ origin
var end = "6126 Rockwell Dr. Apt 128, Keystone Place,…

Krish KvR
- 1,034
- 4
- 11
- 18
1
vote
1 answer
Google maps directions UI
Is it possible to duplicate Google Maps directions user interface such as the example shown here
Meaning, is there an API that I can call to display the from and to address, the different modes of transportation icons etc. on my website the same way…

dougd_in_nc
- 371
- 5
- 20
1
vote
1 answer
Custom map for my android app
I want to create a custom map for my app.
the things i want are:
it will be a custom map designed by us for a event location(not google map).
all the locations will be displayed on the map like google markers.
just like google map i want users to…

Shelby
- 81
- 1
- 11
1
vote
1 answer
Disable one of two draggable Markers in Google API DirectionsService
I'm using Google API Directions Service and i want to disable one of two markers in map. when i use render Options and set draggable to false both of markers set to false but i want disable one of markers to false not both of them.
function…

OMID
- 2,469
- 4
- 16
- 26
1
vote
0 answers
Direction API service inside google maps for ios sdk
Is there any API service available which can be called from inside Google Maps ios sdk just like GMSAutocompleteFilter?
GMSAutocompleteFilter *filter = [[GMSAutocompleteFilter alloc] init];
filter.type = kGMSPlacesAutocompleteTypeFilterCity;
…

Poles
- 3,585
- 9
- 43
- 91
1
vote
1 answer
Navigate from current location to marker
Hello i have multiple markers like this:
var Groningen = GMSMarker()
marker.position = CLLocationCoordinate2DMake(...., .....)
marker.title = "...."
marker.icon = UIImage(named: "...")
marker.snippet = "....."
…

A Belgdour
- 55
- 1
- 7
1
vote
0 answers
Google Directions Map not loading on iPad Landscape orientation
I'm having problems in loading the map in iPad Landscape (in Portrait everything works fine).
EDIT: I found an issue related with the fact that the map element is "pushed" down after the directions element aparently because of a lack of space when I…

Patrick
- 2,995
- 14
- 64
- 125
1
vote
1 answer
Adding multiple directions requests together Google Maps API
I'm trying to get directions for a user provided origin and destination, while showing directions to a middle location for ALL travel modes (driving, walking, bicycling, transit).
I have this coded using waypoints, but I just discovered that the…

blunatic
- 325
- 2
- 6
- 16
1
vote
1 answer
Google Maps directions API server-side & embedded return different data
When I use the Google Maps directions API (server-side) the distance and duration are almost always different then the embedded (iframe) maps tells me.
I use the embedded version to show to the customer, and I use the API version to calculate the…

Tijme
- 39
- 2
- 24
- 41