Changes between Version 10 and Version 11 of GoogleStaticMapMacro


Ignore:
Timestamp:
Oct 26, 2008, 10:02:41 PM (6 years ago)
Author:
martin_s
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoogleStaticMapMacro

    v10 v11  
    5656[[Image(http://maps.google.com/staticmap?center=50.805935%2C10.349121&zoom=5&size=400x400&key=ABQIAAAAMwTA9mkyZbDS6QMcxvwm2BQk7JAK84r7ycdvlw9atwcq_yt-SxQd58w7cbhU8Fvb5JRRi4sH8vpPEQ,nolink)]]
    5757
     58
     59=== Markers ===
     60You can add markers to the static map using the '`markers`' argument. The format is '`markers=X:Y:ColorLetter`', e.g.: `markers=50.805935:10.349121:bluea`, creates a blue marker labeled with 'A' at 50.805935,10.349121.
     61Multiple marker declarations are separated using the '`|`' letter.
     62
     63So,
     64{{{
     65[[GoogleStaticMap(center=50.805935:10.349121,zoom=5,size=400x400,markers=50.805935:10.349121:bluea|50.000000:10.000000:greenb|49.046195:12.117577:yellowc)]]
     66}}}
     67will result in the following map image:
     68
     69[[Image(http://maps.google.com/staticmap?center=50.805935%2C10.349121&zoom=5&size=400x400&markers=50.805935%2c10.349121%2cbluea|50.000000%2c10.000000%2cgreenb|49.046195%2c12.117577%2cyellowc&key=ABQIAAAAMwTA9mkyZbDS6QMcxvwm2BQk7JAK84r7ycdvlw9atwcq_yt-SxQd58w7cbhU8Fvb5JRRi4sH8vpPEQ,nolink)]]
     70
     71
     72=== Parameters ===
    5873See http://code.google.com/apis/maps/documentation/staticmaps/#URL_Parameters for all supported arguments.
    5974In addition the image title can be set using a `title` argument.