googleDirections plugin Tutorial 08: Specifying Stopover Points

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

  1. Direct from Point A (Stanford University) to Point B (Fremont)
  2. {googleDir width=400 height=360
    from="450 Serra Mall, Stanford, CA 94305, USA"
    to="39210 Fremont Hub #211, Fremont, CA 94538"}
    

  3. Adding 1 Stopover Point
  4. 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"}
    

  5. Adding Multiple Stopover Points
  6. You can also specify multiple stopover points:

    • Enclose the stopover points in double quotes (")
    • Delimit each stopover point with ;
    {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"}
    

  7. Any of the start, end or stopover points can be in real address or latitude/longitude points.
  8. {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

Tutorials for the googleDirections plugin

Tutorials for the googleDirections_to_here plugin

Add comment


Security code
Refresh