Closed (works as designed)
Project:
Get Directions
Version:
6.x-2.4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2011 at 07:00 UTC
Updated:
9 Jul 2011 at 09:00 UTC
I have input text field through which I want to get the direction of showroom based on the text value entered by user.
How I can achieve this task.
Comments
Comment #1
hutch commentedIf the showrooms are defined as location-enabled nodes (using location_node or location_cck module) and the user's location is known (using location_user module) you should be able to provide a list of nearby showrooms or a map using the Views module. The location module has a proximity filter in Views. Once you have that information you can use a getdirections function to show the map, see getdirections.api.inc for details.
Or you could use Views to make a list of showrooms in a block and when the user clicks on one show a map with the showroom as 'To' where the user can enter their location, 'From' and this will provide a route.
Comment #2
hutch commented