GMap Direction Extras

GMap_Direx (GMap Direction Extras) is a module that allows the request of directions from Google's GMap service and stores all details about the direction in the Drupal database for later view. All those directions are user specific and no route can be saved more than once. This module was driven by specific customer request and has been developed in a generic form to be able to submit this to the open community. However, in the next few weeks it's like to get changed fundamentally, so you should expect some important changes. Therefore use with care in production sites for the time being. After installation and configuration, just visit your account profile at and you'll fina a new tab called "My Directions" or go there directly: Here you find two new tabs to either display all saved locations or add a new one. Everything else should be self-explaining.


Drupal 6 and the GMap module (including a free Google Map API key)


Install as usual, see for further information.


Configure Gmap_Direx in Administer >> Site configuration >> GMap Direction Extras Enable GMap Direction Extras permissions in Administer >> User management >> Permissions


hi.. how do i see other users gmap_direx.

the list of direction saved under gmap_direx

The module is designed to capture directions for your individual usage only. For now. We may well further develop this module into other areas, for this it would be helpful to submit feature requests on the official module home at Drupal. Please go to

I installed this very nice module and all worked fine.
After setting up my first direction I got shown the directions listed but where the map should appear there is a blank field with the dimensions of the map and it say’s “Javascript is required to view this map.”
I verified that I have javascript enabled on my browser (other gmaps are shown without any problem)
I searched a while and could find out that the data for the map is filled in after the the call for the map in source code on the website it looks like this

<div style="width: 100%; height: 600px;" id="gmap-my-map-gmap0" class="gmap-control gmap-gmap gmap gmap-map gmap-my-map-gmap gmap-processed">Javascript is required to view this map.</div>

And then comes

<script type="text/javascript">
/* <![CDATA[ */
jQuery.extend(true, Drupal, { settings: { "gmap": { "my-map": { "width": "100%", "height": "600px", "zoom": 10, "maxzoom": "14", "controltype": "Small", "align": "None", "maptype": "Map", "mtc": "standard", "baselayers": { "Map": 1, "Satellite": 1, "Hybrid": 1 }, "styles": { "line_default": [ "0000ff", "5", "45", "", "" ], "poly_default": [ "000000", "3", "25", "ff0000", "45" ] }, "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "locpick": false, "nodrag": 0, "nokeyboard": 1, "nomousezoom": 0, "nocontzoom": 0, "autozoom": 0, "dynmarkers": 0, "overview": 0, "collapsehack": 0, "scale": 0 }, "markermode": "1", "id": "my-map", "latitude": "51.9836", "longitude": "7.8852", "shapes": [ { "type": "line", "points": [ [ "52.0059", "7.90506" ], [ "52.004", "7.90468" ], ….. [ "51.9642", "7.86181" ], [ "51.9638", "7.86046" ], [ "51.9637", "7.85994" ], [ "51.9637", "7.8597" ] ], "style": [ "ff0000", 5, 80, "00ff00", 60 ] } ] } } } });
/* ]]> */

What is wrong on my site
Thanks for any help in advance