Changes between Version 23 and Version 24 of GoogleMapMacro


Ignore:
Timestamp:
Oct 29, 2008, 12:52:46 PM (15 years ago)
Author:
Martin Scharrer
Comment:

Added marker link and title descriptions.

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v23 v24  
    9191   * `OverviewMap`: Collapsible overview mini-map in the corner of the main map for reference location and navigation (through dragging).
    9292 `markers`:: Allows the user to set labeled markers on given location of the map.
    93     The format for a marker is `{latitude}:{longitude};{Letter}` or `"{Address}";{Letter}`. If the string 'center' is used instead of an address the center of the map is marked.
    94     The marker letter can be either A-Z or 'o', '.' or empty for a plain marker.
    95     Multiple markers are separated using the '`|`' character.
     93    The format for a marker is `{latitude}:{longitude};{Letter};{TracLink};{Title}` or `"{Address}";{Letter};{TracLink};{Title}`.
     94    If the string 'center' is used instead of an address the center of the map is marked.
     95    The optional marker letter can be either A-Z or 'o', '.' or empty for a plain marker.
     96    An optional [TracLinks TracLink] can be given which will be opened in a new window when clicked on the marker.
     97    An optional marker title can be set which will get displayed when the mouse cursor is over the marker.
     98    Multiple markers are separated using the '`|`' character. Optional values can be kept empty, e.g.: `"{Address}";;;My Address` would display the address with the title 'My Address'.
     99    Trailing semicolons can be skipped as long there are no semicolons in the address, in this case just add enough: `"My Address; City; State; Country";;;`. This will be fixed in future releases.
    96100
    97101
     
    126130 `server`:: The address is resolved on the trac server and the coordinates are completely ignored.
    127131 `client`:: The map is first centered at the given coordinates and then moved to the given address after (and if) it was
    128             resolved by the client-side JavaScript code.
     132            resolved by the client-side !JavaScript code.
    129133{{{
    130134[[GoogleMap(center=50.0:10.0,address="Street; City; Country",zoom=10,size=400x400)]]
     
    155159}}}
    156160
    157 === Markers ==
     161=== Markers ===
    158162To create three markers: one at the center of the map (A), one at the next street (B) and one at coordinates 10.243,23.343 (C):
    159163{{{
    160164[[GoogleMap("Street; City; Country",zoom=10,size=400x400,markers=center;A|"Next street; City; Country";B|10.243:23.343;C)]]
     165}}}
     166The same with hyperlinked markers:
     167{{{
     168[[GoogleMap("Street; City; Country",zoom=10,size=400x400,markers=center;A;wiki:MyWikiPage|"Next street; City; Country";B;ticket:1|10.243:23.343;C;http://www.example.com/)]]
    161169}}}
    162170