This is part 8 of a series of tutorial for the googleDirections plugin.
You can add one or more stopover points (Google calls them waypoints) from Point A to Point B.
Adding Stopover Points or Waypoints
- Direct from Point A (Stanford University) to Point B (Fremont)
- Adding 1 Stopover Point
- Adding Multiple Stopover Points
- Enclose the stopover points in double quotes (")
- Delimit each stopover point with
;
- Any of the start, end or stopover points can be in real address or latitude/longitude points.
{googleDir width=400 height=360 from="450 Serra Mall, Stanford, CA 94305, USA" to="39210 Fremont Hub #211, Fremont, CA 94538"}
Suppose you want to stopover your friend's place at Sunnyvale first before going to Fremont, you can use the tag stopover.
Remember to enclose the stopover points in double quotes (")
{googleDir width=400 height=360 from="450 Serra Mall, Stanford, CA 94305, USA" to="39210 Fremont Hub #211, Fremont, CA 94538" stopover="701 First Avenue, Sunnyvale, CA 94089"}
You can also specify multiple stopover points:
{googleDir width=400 height=360 from="450 Serra Mall, Stanford, CA 94305, USA" to="39210 Fremont Hub #211, Fremont, CA 94538" stopover="456 University Ave. Palo Alto, CA 94301; 1600 Amphitheatre Parkway, Mountain View CA 94043; 701 First Avenue, Sunnyvale, CA 94089"}
{googleDir width=400 height=360 from="450 Serra Mall, Stanford, CA 94305, USA" to="37.5439544, -121.9880076" stopover="37.4477442, -122.1596631; 1600 Amphitheatre Parkway, Mountain View CA 94043; 37.4148428, -122.0249135"}
Adding Stopover Points with No Stopping (Bypass only)
If you only want to make sure that the route bypass the 3 intermediate points, add the keyword (nostop) after each of the stopover point.
{googleDir width=400 height=360 from="450 Serra Mall, Stanford, CA 94305, USA" to="39210 Fremont Hub #211, Fremont, CA 94538" stopover="456 University Ave. Palo Alto, CA 94301 (nostop)); 1600 Amphitheatre Parkway, Mountain View CA 94043 (nostop); 701 First Avenue, Sunnyvale, CA 94089 (nostop)"}
Tutorials for the googleMaps plugin
- googleMaps plugin Tutorial 01: Getting Started
- googleMaps plugin Tutorial 02: Zoom Level
- googleMaps plugin Tutorial 03: Language
- googleMaps plugin Tutorial 04: Map Type
- googleMaps plugin Tutorial 05: KML Files
Tutorials for the googleDirections plugin
- googleDirections plugin Tutorial 01: Getting Started
- googleDirections plugin Tutorial 02: Specifying Stopover Points
- googleDirections plugin Tutorial 03: Travel Modes
- googleDirections plugin Tutorial 04: Unit Systems - miles or km
- googleDirections plugin Tutorial 05: Display Directions on the Left
- googleDirections plugin Tutorial 06: Display Directions below the Map
- googleDirections plugin Tutorial 07: Display Directions in your Local Language
- googleDirections plugin Tutorial 08: Specifying Stopover Points
Tutorials for the googleDirections_to_here plugin
- googleDirections - To Here - plugin Tutorial 01: Getting Started
- googleDirections - To Here - plugin Tutorial 02: Adding Label to Home Address
- googleDirections - To Here - plugin Tutorial 03: Travel Modes
- googleDirections - To Here - plugin Tutorial 04: Unit Systems - miles or km
- googleDirections - To Here - plugin Tutorial 05: Display Directions on the Left
- googleDirections - To Here - plugin Tutorial 06: Display Directions below the Map
- googleDirections - To Here - plugin Tutorial 07: Display Directions in your Local Language
- googleDirections - To Here - plugin Tutorial 08: Specifying Stopover Points
Read more...