Changes between Version 8 and Version 9 of GoogleMapMacro


Ignore:
Timestamp:
Oct 27, 2008 6:25:40 PM (6 years ago)
Author:
anonymous
Comment:

Added usage section and added a new example.

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v8 v9  
    4747}}} 
    4848 
     49== Usage == 
     50The macro knows the following arguments, which can be used in the normal 'key1=value1,key2=value2,...' syntax. 
    4951 
    50 == Example == 
     52 `address` (or no key):: Sets the center of the map to the given address. Please use semi-colons ('`;`') to separate the street, city and country. The value can be surrounded by quotes, e.g. `"Street; City; Country"`. 
     53 `center`:: Sets the center of the map to the given coordinates. The format is `{longitude}:{latitude}`. 
     54 `zoom`:: Sets zoom factor. Allowed values are between 0 (whole world) and 19 (single house). Very high zoom values might not be supported by Google Maps for all parts of the world. 
     55 `size`:: The size in the format `{width}x{height}` as numbers in pixel, e.g.: `300x300` means 300px width and height.  
     56 `type`:: Sets the initial map type. The following types are supported: 
     57   * `normal` Normal street-map 
     58   * `satellite` Satellite picture 
     59   * `hybrid` Satellite picture with streets as overlay 
     60   * `physical` Terrain map 
     61 `types` (not implemented yet):: Sets the map types selectable by the user, separated by colons ('`:`'). See the `type` argument for the available types. If this argument is given but not no initial map `type`, the first listed type is used initially.  
     62 
     63== Examples == 
    5164 
    5265=== Using geographic coordinates === 
     
    7992 
    8093 
     94=== Select initial Map Type === 
     95To show an satellite map: 
     96{{{ 
     97[[GoogleMap("Street; City; County",zoom=10,size=400x400,type=satellite)]] 
     98}}} 
     99 
    81100== Recent Changes in the Release Branch == 
    82101