Closed (fixed)
Project:
Get Directions
Component:
Code
Priority:
Normal
Category:
Feature request
Reporter:
Anonymous (not verified)
Created:
16 Mar 2010 at 08:48 UTC
Updated:
14 Nov 2015 at 22:34 UTC
Hello,
Do you know how I can get (using your api) directions for a route from A to D via B en C ? I know it is possible using the google maps api, but I can't figure out how to implement it using your module ?
An example:
I have a content type which references to three or more locations, at the bottom of the node (after saving it) I want to visualize the route from the first location to the last one via the locations in between.
Hopefully you can help me
Rudy van der Blom
Comments
Comment #1
hutch commentedGet Directions does not support this feature at the moment, although with a bit of help in defining the data that needs to be sent to google it might be possible to add a function to the API.
At the moment we have a callback that works like this:
getdirections/locations/1/2
This shows a route
from location 1
to location 2
It might be possible to have a new callback that works like this:
getdirections/locationsvia/1,2,3,4,5
where the first number is the start and the last the endpoint and the rest vias
any input welcome!
Comment #2
hutch commentedadded support for loadFromWaypoints to CVS, this will appear in the D-6--1 development version sometime after midnight GMT
Details on how to use it in README.txt
Please test and report back here!
Comment #3
hutch commentedComment #5
chitraar commentedCan u plz elaborate on the idea about callback
Comment #6
hutch commentedUse the 2.x version and read the readme, it's all in there.