¡Ayúdanos a traducir esta Web y consigue licencias gratis!
Usuario anónimo  |  Ingresar  |  Regístrate
Mensaje dentro General Discussions

Getting Distance and Time

Responder 
#1 - 11/05/2010 6:08:01 Reporta abuso | Link permanente
Gordon
Fecha de registro: 30/03/2007
9 posts en todos los foros
Getting Distance and Time

Responder Citar
Is there an easy way to get the distance and time for road travel between any two points and display that in a div ?
Thanks
Volver arriba

Respuestas
De en 15
#2 - 12/05/2010 8:06:05 Reporta abuso | Link permanente
subgurim
Fecha de registro: 18/10/2006
1972 posts en todos los foros
RE: Getting Distance and Time

Responder Citar
Hi Gordon,

This is an advanced feature. You should use the google maps api javascript: http://code.google.com/apis/maps/documentation/services.html#Directions
Volver arriba

#3 - 11/05/2010 6:24:03 Reporta abuso | Link permanente
Gordon
Fecha de registro: 30/03/2007
9 posts en todos los foros
RE: Getting Distance and Time

Responder Citar
Tried "scraping" the HTML source but no luck. The data is not in HTML form by the look of it.

What I am trying to do is get it into a variable so I can do manipulation on the distance/time (i.e. calculate a cost)
Volver arriba
De en 15

Powered by Subgurim.NET