googleDirections plugin Tutorial 02: Specifying Stopover Points

This is part 2 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"}
    

    MapDirections

  3. Adding 3 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"}
    

    MapDirections

  4. Any of the start, end or stopover points can be in real address or latitude/longitude points.
  5. {googleDir width=400 height=360 
    from="37.42315, -122.1766417" 
    to="39210 Fremont Hub #211, Fremont, CA 94538"
    stopover="37.4477442, -122.1596631;
    1600 Amphitheatre Parkway, Mountain View CA 94043;
    37.4148428, -122.0249135"}
    

    MapDirections

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

    MapDirections

Comments   

0 # François 2015-07-16 11:47
I'd like to no display the directions, neither at left, nor at right or below...
How to please ??
Regards and thanx
Reply | Reply with quote | Quote
0 # kksou 2015-07-16 14:26
Hi François,

The entire maps and direction is actually written directly by Google i.e. the plugin does not get to process the data at all.

I'm not sure if the Google Map API provide such a function that displays the waypoints but suppress the direction.

If you or anyone know the part of the GoogleMaps API that allows this, do let me know and I can add that in for you.

Warm Regards,
/kksou
Reply | Reply with quote | Quote
0 # François 2015-07-17 05:47
Hi KKSOU
Thanx to take time to answer us.
For information, the following code, to add to the command line as a parameter will fit this need :
hide_direction_text=1
Perhaps you already gave it to me some time ago....
Kind regards
François
Reply | Reply with quote | Quote

Add comment


Security code
Refresh