please have a look at http://www.archimeer.nl/nieuw/fietsroute

Without a directions module I created a directios functionaity.

The "directions node" is a special node-type the has a node-reference field where other nodes (with a location filed) are referenced. When viewing the node the directions are calculated through Googles javascript API.

If you want any more info let me know.

I'm very curious where your project will head to and will follow it with a close eye.

Comments

jurgenhaas’s picture

Assigned: Unassigned » jurgenhaas
Priority: Normal » Minor

Hi @garbo, thanks for pointing me that way. t looks very nice, although I'm struggling with my Dutch ;-) I wonder if you considered publishing your solution as a module? Anyway, we may well bring the two modules together before we both move forward. What do you think?

garbo’s picture

Hi Jurgen,

I actually presumed by your name that you were Dutch :) (Haas is Dutch for Hare, the quick running rodent that looks like a big rabbit).

Anyways, I would like to collaborate in this, though it would be my first public module. But that shouldn't be a big problem. And as I realized myself when I was looking for a solution to this, there is a high demand for this functionality.

What I made is actually by itself not a module but a combination of the use of the Node-reference module, the location module, form-block module and custom JavaScript in the template. So not the route is saved as a node, but the points on the route (represented as referenced nodes which have locations). Every time this route-node is viewed, the template page queries Google to calculate and display the route.

If I have time this afternoon I will try to draw a simple flowchart of how my system works and post it here. Maybe we can use it as a startingpoint or otherwise.

If you like you can contact me personally via: bramdeleeuw at gmail

danharper’s picture

I'm interested in this feature and the code you have used.

Thanks Dan

jurgenhaas’s picture

@danharper, which feature do you mean? What's in gmap_direx or what has been described by @garbo?

@garbo, sorry for not comming back on this earlier. Priorities had changed a bit and I wasn't working on GMap projects recently. Is this whole thing still interesting to you? If so, I guess we should discuss where to take this module to. And also, if there are other stakeholders anywhere who probably want to join in. What do you think?

1959mvp’s picture

I would be interested in seeing a print icon to allow the directions and the map be printed from the user's profile page. It appears now that the user can just look at the directions. If he decides to go there, it would be nice to be able to create a node that could be emailed or printed.

Any thoughts?

So far it appears bug free on D6.15

The idea for users to be able to manage a list of pre-set directions is very useful for my purposes. Any hints on how to add print would be appreciated. I may be willing to pay to push it into the module if necessary.

jurgenhaas’s picture

@1959mvp, that sounds like you should probably use other modules to perform this. Forwarding and printing pages seems to be dealt with elsewhere, why should we do that again in this module?

jurgenhaas’s picture

Title: please have a look at http://www.archimeer.nl/nieuw/fietsroute for a Google-direction implementation before your module excisted » General direction for the gmap_direx module
Component: User interface » Miscellaneous
Assigned: jurgenhaas » Unassigned
Category: task » feature

Changed the title of this thread to be clear about its purpose and to hopefully invite others in the community to join in and share their thoughts with us.

summit’s picture

Title: General direction for the gmap_direx module » please have a look at http://www.archimeer.nl/nieuw/fietsroute for a Google-direction implementation before your module excisted
Component: Miscellaneous » User interface
Assigned: Unassigned » jurgenhaas
Category: feature » task

Subscribing, greetings, Martijn

jurgenhaas’s picture

Title: please have a look at http://www.archimeer.nl/nieuw/fietsroute for a Google-direction implementation before your module excisted » General direction for the gmap_direx module
Component: User interface » Miscellaneous
Assigned: jurgenhaas » Unassigned
Category: task » feature

Changing again as we cross posted.