Changes between Version 18 and Version 19 of GoogleMapMacro


Ignore:
Timestamp:
Oct 28, 2008, 8:18:32 PM (15 years ago)
Author:
Martin Scharrer
Comment:

Added description for new key-less coordinate argument and about auto-zooming.

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v18 v19  
    6666== Usage ==
    6767The macro knows the following arguments, which can be used in the normal 'key1=value1,key2=value2,...' syntax.
     68If a key-less value is given it will be taken as `center` coordinates if it's in the proper format ({float}:{float}) otherwise it's taken as an `address`.
    6869
    69  `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"`.
     70 `address`:: 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"`.
     71             If an `address` but no `zoom` value was given an appropriate value will be guessed based on the address accuracy returned by Google.
     72             At the moment this isn't very accurate but soon [http://groups.google.com/group/Google-Maps-API/browse_thread/thread/53c4525e8d01e75d Google might improve] this.
    7073 `center`:: Sets the center of the map to the given coordinates. The format is `{longitude}:{latitude}`.
    7174 `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.
     
    162165 * Markers!
    163166 * Default values in config file for all arguments.
    164  * Autodetection if first key-less argument is an address or coordinates in order to allow both without key.
    165167 * Maybe merge source with GoogleStaticMapMacro to allow addresses there, too.
    166168 * Argument `static=yes` to render a static map while using GoogleMapMacro format.
    167