Direction animation PDF Print E-mail
Written by Mike Reumer   
Thursday, 16 July 2009 21:38

It's possible to animate a route with streetview and directions (version => 2.12k). Initiative, idea and sponsored by Andrea Torre! Thank you very much.
It's possible to add multiple via's (version => 2.12n),

For example:

{mosmap animdir='2'|address='Roma, Italy'|toaddress='Fiumicino, Italy'|waypoint[1]='Frascati, Italy'|waypoint[2]='Ciampino, Italy'|formspeed='1'|formdirtype='1'|formaddress='1'|animautostart='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.

Loading
Speed



From here
To here

The following parameters are possible:

  • Animdir - If the animation should be possible.
    • 1 - Show first streetview, status bar and forms then map and as last directions.
    • 2 - Show first streetview, status bar and forms then maps on the left and directions on the right.
    • 3 - Show first maps on the left and directions on the right, status bar and forms then streetview.
  • address - The address for starting the route.
  • toaddress - The address for finishing the route.
  • waypoint - An array of address or latitude, longitude for via/waypoint between address and addressto. You need to use [] to specify the sequence (version >= 2.12n).
  • animspeed - the speed of the animation. This is in seconds. Can be zero for very fast.
  • animautostart='1' then animation will start immediately.
  • animunit - The unit that can be used: miles or kilometers
  • showdir='0' then directions will be invisible.
  • show='0' then map will be invisible.
  • formspeed - show form so user can set the speed of the animation.
  • formdirtype - show form so user can select the directions type: driving, walking or avoid highways.
  • formaddress - show a form so user can enter the from address and to address and generate it's own route.
Last Updated on Saturday, 06 March 2010 21:37
 

Advertisement