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. You can use lat, lo, address and tolat, tolon and toaddress.

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

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'}

Avoid highways

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

Waypoints

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

Last Updated on Saturday, 26 November 2011 19:40
 

Advertisement