Using the component & plugin JEmbedAll you can configure and embed Google direction into your Joomla site using Google maps. In the JEmbedAll configuration section you can configure the Google maps: 'Configure map' (and the red pin item in Joomla 2.5) is for the [ googlemap ] and 'Configure directions' (and blue pin item in Joomla 2.5) is for [ googledirections ], the API used for asking Directions with Google maps.
To embed a Google directions in Joomla sites use the following codes, like the examples below :
[ googledirections = from="1600 Amphitheatre Parkway, Mountain View CA 94043" to="701 First Avenue, Sunnyvale, CA 94089" ]
[ googledirections = from="10 Downing Street, City of Westminster, London, UK" to="55, Rue du Faubourg Saint-Honoré 75008 Paris, France" zoom=9 control=GLargeMapControl3D]
[ googledirections = from="51.503396,0.127640" to="44.433957,26.061581" control=GLargeMapControl3D maptype=G_SATELLITE_MAP ].
The origins and the destinations can be set as addresses (if you are outside USA you need the full address, with town/city and country) or GPS locations (longitude and latitude).
The controls you enter into the text will override the settings from the menu.
More information about Google Maps Control V3 can be found here. The version 2 of the JavaScript API has been turned down.
In the administrator section you can edit this string - you can change its name and the CSS code attached. Using the CSS code you can set the position on page and other attributes (like the margins).