Skip to main content

All Questions

1 vote
0 answers
554 views

using multiple waypoints in google directions service

I have following code for the functionality in my site to calculate distance between a pickup address, a drop-off address and one waypoint (optional). if ( Google_AutoComplete_Country != '...
vipworks's user avatar
0 votes
1 answer
4k views

Real Time user Tracking with Google Maps API

I want to create the same functionality as Google Maps application in a website using the JavaScript API of Google Maps. I can get the current user location and updating it through setinterval on the ...
Rashid Bhura's user avatar
-1 votes
1 answer
340 views

adding PHP variables into Javascript functions using Google Directions API

I am fairly new using google APIs. I am creating an application where I need to use addresses saved in a database t0 display a route to an event. I have found a template allowing me to manually change ...
Brad's user avatar
  • 9
1 vote
0 answers
144 views

Using google api for search results in database

I have a database table where I save Google's placeID 1 as the origin and placeID 2 as the destination. Later on, I use these fields from my database to pass them to Google's Directions API in order ...
dzafe's user avatar
  • 21
3 votes
1 answer
5k views

Google Maps direction request without traffic

I have to write a program, that tells me the shortest way between two points. The traffic shouldn't be regarded. My Request is this. 'http://maps.googleapis.com/maps/api/directions/json?origin='.$...
Lightspeed's user avatar
0 votes
2 answers
2k views

how to find the total distance traveled, based on geo points stored in database

Using an android app I am sending latitude and longitude values to database. This is my database Now in webpage I need to show the total distance traveled by K.Prathibha.N I've used Google Maps ...
Prabs's user avatar
  • 5,103
-1 votes
1 answer
1k views

How to display places on a route of a given destination

I'm trying to add markers (for places) on a route. It's like getting directions in Google maps. There should be two text boxes for origin and destination. After click on submit button the map should ...
wcdesilva's user avatar
0 votes
2 answers
7k views

Find and show the route of the closest markers using DirectionsService by Google Map API v3

Thanks for the help in this forum and i almost complete my assignment in searching the shortest route between a starting point and many markers. However, my distance measurment is simply adopting ...
Jimmy Lee's user avatar
4 votes
4 answers
17k views

How to decode Polylines from Google Maps Direction API in PHP

I have json response from the following URL: http://maps.googleapis.com/maps/api/directions/json?origin=Chicago,IL&destination=Los%20Angeles,CA&sensor=false JSON path routes[x].legs[y].steps[...
Shehzad Bilal's user avatar