PDA

View Full Version : Google maps API routes



doktoreas
20 Jun 2010, 8:44 AM
Hello folks and congratulations for you great framework!
Would it be possible to use the calculation of routes provided by the Google Maps API?

Thx
Luca

VinylFox
20 Jun 2010, 8:56 AM
You mean directions?

Any functionality that the Google Maps API supports can be used.

http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsService

mrsunshine
20 Jun 2010, 8:56 AM
i think so, you have a google.maps.map object in the map property of your sencha touch map panel. so you should do anything the google map api (http://code.google.com/apis/maps/documentation/v3/reference.html) provides for this object.

mrsunshine
20 Jun 2010, 8:58 AM
You mean directions?

Any functionality that the Google Maps API supports can be used.

http://code.google.com/apis/maps/documentation/javascript/reference.html#DirectionsService

Shea you posted a second faster than i ;-)

VinylFox
20 Jun 2010, 8:59 AM
Just call me quick draw! :)