googleDirections - To Here - plugin

This plugin is an extension of the googleDirections plugin. You specify a designated place to be the destination, and let the user enter the adddress he or she is coming from. Google will then provide the driving or walking directions from the user-specified address to your designated place.

Unique Features

  • Uses the latest Google Maps API v3
  • You can embed multiple Google Directions_to_here within an article
  • Each Google Direction can be of different size, map control and map type
  • Support for kml files
  • You can specify the "home position" using real address or longitude/latitude points
  • Built-in street view!
  • Support for many native languages e.g. Italian, Russian, French
  • Available for all Joomla versions: Joomla 1.0.x, native 1.5.x, 1.6.x, 1.7.x, 2.5.x and 3.0.x!

User Review

This plugin is listed in the The Joomla! Extensions Directory: To Here plugin for googleDirections

If you like this plugin, please post a review at the Joomla! Extensions Directory

Latest Version

v3.0.9 (for Joomla 3.0 and above)
Released Dec 20, 2014

Support for the latest Joomla 3.3.6!

v1.0.8 (for Joomla 1.0), v1.5.8 (for Joomla 1.5), v1.6.8 (for Joomla 1.6), v1.7.8 (for Joomla 1.7), v2.5.8 (for Joomla 2.5)
Released Feb 4, 2012

  • added support for Joomla 2.5
  • add flag w3c=1 => w3c compliant
  • support for IE7!
  • allow googleMaps to display in tabs
  • now allows address to include ' (apostrophe)
  • support for vertical alignment

Geocoding your address

If you wish to know the latitude and longitude of your start point or end point, you can find out here: Free Geocoder v2.0 by kksou.

googleMaps Plugin

This plugin is for showing directions using Google Maps API.

If you just need a simple map (without any driving directions), you can use the googleMaps plugin.

googleDirections Plugin

This plugin has the destination fixed at your designated place.

If you want to be able to specify both the starting point and destination as variables, please use the googleDirections plugin.


Below you can see a live demo of the plugin. The destination is Google Inc. in Mountain View, California. Enter some address in US, and let Google shows you how to get there.

Coming from:

Coming from:

Coming from:

How to use

Important: This plugin makes use of the googleMaps plugin and googleDirections plugin to display the map. So please make sure you have installed googleMaps plugin v1.0.18/1.5.18/1.6.18/1.7.18/2.5.18 (or above) and googleDirections plugin v1.0.12/1.5.12/1.6.12/1.7.12/2.5.12 (or above) for this plugin to work.

If you have downloaded and installed the above plugins before the Christmas of 2011 (i.e. Dec 25, 2011), you are using the old version. Please update the two plugins to the latest version.


  1. To insert a Google Map with directions, use the following syntax:
  2. {googleDir_tohere width=400 height=360
    home_addr="1600 Amphitheatre Parkway, Mountain View, CA 94043"}

    Note that:

    • Enclose from and to in double quotes (")
    • Enter the full address in one line. If you're not in US, specify your country too.

  3. You can also use the latitude and longitude for precise location:
  4. {googleDir_tohere width=400 height=360
    home_lat=37.4219720, home_long=-122.0841430}
  5. You can set the width of the address input in the Parameters page.
  6. You can change the text "Coming from:" to your own language in the Parameters page.
  7. You can change the button label "Get Directions" to your own language in the Parameters page.


For Joomla 1.0, please make sure you have installed googleMaps plugin v1.0.23 and googleDirections plugin v1.0.14 for this plugin to work.
For Joomla 1.5 and above, the installation package will also install the latest version of googleMaps plugin and googleDirections plugin required for this plugin.


  1. v1.0.1 (for Joomla 1.0) and v1.5.1 (for Joomla 1.5)
    Released July 24, 2009
  2. This is in response to Chris's request to allow multiple lines for the home label.

    For new lines, please use ~ (similar to that of the googleMaps plugin). Please refer to here for details.

  3. v1.0.2 (for Joomla 1.0) and v1.5.2 (for Joomla 1.5)
    Released August 15, 2009
  4. Fixed the bug: <br /> appears in destination. Thanks to Rentawebguy for highlighting this.

    Also allows the user to specify a default country. This is in response to Chriscundy's request.

    You can view a sample here.

  5. v1.0.3 (for Joomla 1.0) and v1.5.3 (for Joomla 1.5)
    Released October 1, 2009
  6. Fixed the bug: "Notice: Undefined variable: map_id in /var/www/html/rcl122/plugins/content/googleDirections_tohere/googleDirections_tohere.lib.php on line 126". Thanks to Rockiesrider for highlighting this.

  7. v1.0.4 (for Joomla 1.0) and v1.5.4 (for Joomla 1.5)
    Released June 15, 2010
  8. allow user to specify default country

    allow user to display multiple maps with to_here directions

  9. v1.0.4 (for Joomla 1.0), v1.5.4 (for Joomla 1.5), v1.6.4 (for Joomla 1.6), v1.7.4 (for Joomla 1.7)
    Released October 20, 2011
  10. Native version of the googleMaps plugin for Joomla 1.6 and Joomla 1.7!

    Also, support for PHP v5.3.8 for both Joomla 1.6 and Joomla 1.7.

  11. v1.0.5 (for Joomla 1.0), v1.5.5 (for Joomla 1.5), v1.6.5 (for Joomla 1.6), v1.7.5 (for Joomla 1.7)
    Released Nov 15, 2011
  12. Now uses Google Maps API v3!

    Key advantages in Google Maps API v3 includes:

    • Built-in street view!
    • You no longer require the Google API Key - what this means is that you can now access the google maps from your local machine!
    • Google now provides road directions by bicycle!

  13. v1.0.6 (for Joomla 1.0), v1.5.6 (for Joomla 1.5), v1.6.6 (for Joomla 1.6), v1.7.6 (for Joomla 1.7)
    Released Dec 24, 2011
  14. Support for multiple stopovers!

  15. v1.0.7 (for Joomla 1.0), v1.5.7 (for Joomla 1.5), v1.6.7 (for Joomla 1.6), v1.7.7 (for Joomla 1.7)
    Released Jan 03, 2012
  16. Thanks to feedback from Florian who found out that the reverse geocode lookup by Google sometimes do not gives the right mapping. Have modified the code so that the googleDirections_tohere plugin now maps the exact location when latitude/longitude is given when specifying the "home position".

    One other new feature for this new version is that: the user can now press the Enter key (as oppose to pressing the "Get Directions" button) to get the directions to your home position.

  17. v1.0.7 (for Joomla 1.0), v1.5.7 (for Joomla 1.5), v1.6.7 (for Joomla 1.6), v1.7.7 (for Joomla 1.7), v2.5.7 (for Joomla 2.5)
    Released Jan 26, 2012
  18. Native version of the googleDirections - To Here - plugin for Joomla 2.5!