This is part 2 of a series of tutorial for the googleDirections - To Here - plugin.
You can add a label to the Home Address with the keyword home_label
. The label will be displayed when you hover the mouse over the red marker, or when you click on the red marker.
Note:
- The label with the red marker will only be shown when the map is displayed initially with nothing entered in the "Coming From" field.
- The moment the directions are displayed, the red marker will be replaced by the end point (usually Point B which corresponds to the directions given in the Directions Panel)
- You can re-display the original map with the red marker by entering an empty field (i.e. clearing the "Coming From" field) and click the submit button.
Adding Home Label
- Single line label
- Use the keyword
home_label
- Make sure you enclose the label in double quotes, not single quote.
- Multiple-lines label
- Use
~
to indicate new lines.
{googleDir_tohere width=320 height=360 dir_width=275 home_addr="1600 Amphitheatre Parkway, Mountain View CA 94043" home_label="Google Inc."}
Coming from:
|
{googleDir_tohere width=320 height=360 dir_width=275 home_addr="1600 Amphitheatre Parkway, Mountain View CA 94043" home_label="Google Inc.~1600 Amphitheatre Parkway~Mountain View, CA 94043"}
Coming from:
|
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
Comments
some of my dir_width's are exactly the size I want them. And some of them just go their own way.
1) Can show some sample pages so that I can do a view source?
2) What are the tags that you've used to produce the result?
You need to help us to help you. So please provide a bit more information so that we have more clues.
Regards,
/kksou
RSS feed for comments to this post