Directions on map PDF Print E-mail
Written by Mike Reumer   
Saturday, 13 December 2008 12:42

It's possible to show direction on the map (version => 2.12d). You can use lat, lo, address and tolat, tolon and toaddress.

{mosmap address='sportlaan 3a, benthuizen, Nederland'|toaddress='Sportweg 1, 2461CX Ter Aar, Nederland'}

JavaScript must be enabled in order for you to use Google Maps.
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then try again.

You can avoid highways or use walking directions (version => 2.12g). Use parameters:

  • dirtype
    • D(riving) - default
    • W(alking)
  • avoidhighways
    • 0 - No - Default
    • 1 - Yes

Walking

{mosmap address='sportlaan 3a, benthuizen, Nederland'|toaddress='Sportweg 1, 2461CX Ter Aar, Nederland'|dirtype='W'}

JavaScript must be enabled in order for you to use Google Maps.
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then try again.

Avoid highways

{mosmap address='sportlaan 3a, benthuizen, Nederland'|toaddress='Spinozastraat 7, 1018 HD Amsterdam, Nederland'|avoidhighways='1'}

JavaScript must be enabled in order for you to use Google Maps.
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then try again.

Waypoints

{mosmap address='Roma, Italy'|toaddress='Fiumicino, Italy'|waypoint[1]='Frascati, Italy'|waypoint[2]='Ciampino, Italy'|avoidhighways='1'}

JavaScript must be enabled in order for you to use Google Maps.
However, it seems JavaScript is either disabled or not supported by your browser.
To view Google Maps, enable JavaScript by changing your browser options, and then try again.

Last Updated on Saturday, 06 March 2010 21:22
 

Advertisement