Changes between Version 11 and Version 12 of GoogleStaticMapMacro


Ignore:
Timestamp:
Oct 26, 2008, 9:07:34 PM (15 years ago)
Author:
Martin Scharrer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoogleStaticMapMacro

    v11 v12  
    4646You can check out GoogleStaticMapMacro from [http://trac-hacks.org/svn/googlestaticmapmacro here] using Subversion, or [source:googlestaticmapmacro browse the source] with Trac.
    4747
    48 == Example ==
     48== Usage & Examples ==
     49=== Parameters ===
     50See http://code.google.com/apis/maps/documentation/staticmaps/#URL_Parameters for all supported arguments.
     51In addition the image title can be set using a `title` argument.
    4952
     53The map location must be given in geographic coordinates, not as address.
     54Please note that the format `center=X:Y` must be used, not `center=X,Y` as described in the above web site, due to the way trac parses the macro.
     55
     56For example:
    5057{{{
    5158[[GoogleStaticMap(center=50.805935:10.349121,zoom=5,size=400x400)]]
     
    5865
    5966=== Markers ===
    60 You 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.
     67You can add markers to the static map using the '`markers`' argument. The format is '`markers={latitude}:{longitude}:{size}{color}{alphanumeric-character}`', e.g.: `markers=50.805935:10.349121:bluea`, creates a blue marker labeled with 'A' at 50.805935,10.349121.
    6168Multiple marker declarations are separated using the '`|`' letter.
    6269
     
    7077
    7178
    72 === Parameters ===
    73 See http://code.google.com/apis/maps/documentation/staticmaps/#URL_Parameters for all supported arguments.
    74 In addition the image title can be set using a `title` argument.
    75 
    76 The map location must be given in geographic coordinates, not as address.
    77 Please note that the format `center=X:Y` must be used, not `center=X,Y` as described in the above web site, due to the way trac parses the macro.
    78 
    79 
    8079== Recent Changes ==
    8180