Changes between Version 10 and Version 11 of GoogleMapMacro
- Timestamp:
- Oct 27, 2008, 8:38:14 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoogleMapMacro
v10 v11 57 57 `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. 58 58 `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): 60 60 * `normal` Normal street-map 61 61 * `satellite` Satellite picture 62 62 * `hybrid` Satellite picture with streets as overlay 63 63 * `physical` Terrain map 64 `type s` (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. 65 65 66 66 == Examples == … … 95 95 96 96 97 === Select initial Map Type===98 To show a n satellite map:97 === Select Map Types === 98 To show a map with the standard map types where the satellite map is preselected: 99 99 {{{ 100 100 [[GoogleMap("Street; City; County",zoom=10,size=400x400,type=satellite)]] 101 }}} 102 103 To only show a satellite map (please note the added '`s`'): 104 {{{ 105 [[GoogleMap("Street; City; County",zoom=10,size=400x400,types=satellite)]] 106 }}} 107 108 To 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 113 To 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)]] 116 or 117 [[GoogleMap("Street; City; County",zoom=10,size=400x400,types=hybrid:satellite,type=hybrid)]] 101 118 }}} 102 119