Changes between Version 10 and Version 11 of GoogleMapMacro


Ignore:
Timestamp:
Oct 27, 2008 9:38:14 PM (6 years ago)
Author:
anonymous
Comment:

Rewrote types argument description and added examples.

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v10 v11  
    5757 `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. 
    5858 `size`:: The size in the format `{width}x{height}` as numbers in pixel, e.g.: `300x300` means 300px width and height.  
    59  `type`:: Sets the initial map type. The following types are supported: 
     59 `types` (optional):: Sets the map types selectable by the user, separated by colons ('`:`'). If not given the standard types of Google Maps are used (Normal, Satellite, Hybrid). The following types are available (values are case-insensitive): 
    6060   * `normal` Normal street-map 
    6161   * `satellite` Satellite picture 
    6262   * `hybrid` Satellite picture with streets as overlay 
    6363   * `physical` Terrain map 
    64  `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.  
     64 `type` (optional):: Sets the initial map type. See the `types` argument for the available types. If this argument is not given the first listed type under `types` is used initially. 
    6565 
    6666== Examples == 
     
    9595 
    9696 
    97 === Select initial Map Type === 
    98 To show an satellite map: 
     97=== Select Map Types === 
     98To show a map with the standard map types where the satellite map is preselected: 
    9999{{{ 
    100100[[GoogleMap("Street; City; County",zoom=10,size=400x400,type=satellite)]] 
     101}}} 
     102 
     103To only show a satellite map (please note the added '`s`'): 
     104{{{ 
     105[[GoogleMap("Street; City; County",zoom=10,size=400x400,types=satellite)]] 
     106}}} 
     107 
     108To show a map with hybrid and satellite map types (in this order) where the satellite map is preselected: 
     109{{{ 
     110[[GoogleMap("Street; City; County",zoom=10,size=400x400,types=hybrid:satellite,type=satellite)]] 
     111}}} 
     112 
     113To show a map with hybrid and satellite map types (in this order) where the hybrid map is preselected: 
     114{{{ 
     115[[GoogleMap("Street; City; County",zoom=10,size=400x400,types=hybrid:satellite)]] 
     116or 
     117[[GoogleMap("Street; City; County",zoom=10,size=400x400,types=hybrid:satellite,type=hybrid)]] 
    101118}}} 
    102119