Changes between Version 49 and Version 50 of GoogleMapMacro


Ignore:
Timestamp:
Feb 14, 2016, 8:27:04 AM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • GoogleMapMacro

    v49 v50  
    1010
    1111Multiple Google Maps on the same wiki page are supported.
     12
     13The macro should work both with Trac 0.11 and 0.12. There is only a 0.11 directory which can also be used for Trac 0.12.
     14The AdvParseArgsPlugin is used to allow for quoted argument values and must also be installed.
     15
     16The recent version ([4801]) of this macro needs the AdvParseArgsPlugin in revision [4795] or later.
    1217
    1318'''Feedback''': I would like to get some [mailto:martin@scharrer-online.de?subject=Feedback%20GoogleMapMacro user feedback] for this macro.
    1419Tell me if you like it or not and what could be better. Feel free to request additional features as long they are supported by the [https://developers.google.com/maps/?csw=1&safe=on Google Maps API] by opening a [/newticket?component=GoogleMapMacro&owner=martin_s&type=enhancement&release=0.11 feature request].
    1520
    16 The macro should work both with Trac 0.11 and 0.12. There is only a 0.11 directory which can also be used for Trac 0.12.
    17 The AdvParseArgsPlugin is used to allow for quoted argument values and must also be installed.
    18 
    19 The recent version ([4801]) of this macro needs the AdvParseArgsPlugin in revision [4795] or later.
    20 
    2121== Bugs/Feature Requests
    2222
     
    2929[[TicketQuery(component=GoogleMapMacro&group=type,format=progress)]]
    3030
    31 == !ToDo/Planned
     31=== !ToDo/Planned
    3232
    3333 * Implement some error handling for driving directions.
     
    4444You can check out GoogleMapMacro from [/svn/googlemapmacro/0.11 here] using Subversion, or [source:googlemapmacro/0.11 browse the source] with Trac.
    4545
    46 There is a develop version which can be unstable: [/svn/googlemapmacro/dev/0.11 check-out].
     46There is a development version which can be unstable in some configurations: [/svn/googlemapmacro/dev/0.11 check-out].
    4747
    4848== Installation
     
    8787
    8888The macro knows the following arguments, which can be used in the normal `key1=value1, key2=value2,...` syntax. If a value includes one or more commas, then it must be set in double quotes (`" "`).
    89 If a key-less value is given, it will be taken as `center` coordinates if it is in the proper format, otherwise it's taken as an `address`. Unknown (or misspelled) keys or key-less values except the first are silently ignored.
     89If a key-less value is given, it will be taken as `center` coordinates if it is in the proper format, otherwise it is taken as an `address`. Unknown (or misspelled) keys or key-less values except the first are silently ignored.
    9090
    9191 `address`:: Sets the center of the map to the given address. The value must be surrounded by quotes if it includes commas, e.g. `"Street, City, Country"`.
     
    9494 `center`:: Sets the center of the map to the given coordinates. The format is `{latitude}:{longitude}` or `"{latitude},{longitude}"`.
    9595 `zoom`:: Sets zoom factor. Allowed values are between 0 (whole world) and 19 (single house). High zoom values might not be supported by Google Maps for all parts of the world.
    96  `size`:: The size either in the format `{width}x{height}` as numbers in pixel: `300x400` means 300px wide and 400px high or
    97           in the format `{width}{unit}:{height}{unit}`, where unit can be any CSS unit (em, ex, px, in, cm, mm, pt, pc).
     96 `size`:: The size either in the format `{width}x{height}` as numbers in pixel: `300x400` means 300px wide and 400px high or in the format `{width}{unit}:{height}{unit}`, where unit can be any CSS unit (em, ex, px, in, cm, mm, pt, pc).
    9897 `types` (optional):: Sets the map types selectable by the user, separated by colons (`:`). If it is not given, then the standard types of Google Maps are used (Normal, Satellite, Hybrid). The following types are available (values are case-insensitive):
    9998   * `normal`: Normal street-map
     
    101100   * `hybrid`: Satellite picture with streets as overlay
    102101   * `physical`: Terrain map
    103  `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.
    104  `controls` (optional):: Sets the used map controls. Multiple controls can be given, separated by colon (`:`). The value is case-insensitive. If not set the controls `MapType` and `LargeMap` are used.
    105  If set but empty no controls are displayed. The following controls are available (descriptions taken from the [http://code.google.com/apis/maps/documentation/reference.html#GControlImpl Google Map API page]):
     102 `type` (optional):: Sets the initial map type. See the `types` argument for the available types. If this argument is not given, then the first listed type under `types` is used initially.
     103 `controls` (optional):: Sets the used map controls. Multiple controls can be given, separated by colon (`:`). The value is case-insensitive. If not set, then the controls `MapType` and `LargeMap` are used.
     104 If set but empty no controls are displayed. The following controls are available (descriptions taken from the [https://developers.google.com/maps/documentation/javascript/?csw=1#GControlImpl Google Map API page]):
    106105   * `LargeMap`: Control with buttons to pan in four directions, and zoom in and zoom out.
    107106   * `SmallMap`: Control with buttons to pan in four directions, and zoom in and zoom out, and a zoom slider.