This demo shows how to place an address as a parameter so the marker will show based on the address with a directions form. With this form the visitor can get directions to your location. You can avoid highways, walking option or direction on map itself. For it's parameters see: Directions on map.
Dir can be:
0 No directions
1 New window/tab with maps.google.com with directions
2 New window/tab with directions in print version
5 Directions on the map itself (Not with kml file rendered with geoxml)
The following options are disabled by google (no embedding allowed of google websites):
3 Lightbox with directions in print version (Not kml-file rendered with geoxml)
4 Lightbox with maps.google.com with directions (Not with kml file rendered with geoxml)