Changes between Version 49 and Version 50 of GoogleMapMacro
- Timestamp:
- Feb 14, 2016, 8:27:04 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoogleMapMacro
v49 v50 10 10 11 11 Multiple Google Maps on the same wiki page are supported. 12 13 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. 14 The AdvParseArgsPlugin is used to allow for quoted argument values and must also be installed. 15 16 The recent version ([4801]) of this macro needs the AdvParseArgsPlugin in revision [4795] or later. 12 17 13 18 '''Feedback''': I would like to get some [mailto:martin@scharrer-online.de?subject=Feedback%20GoogleMapMacro user feedback] for this macro. 14 19 Tell 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]. 15 20 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 21 21 == Bugs/Feature Requests 22 22 … … 29 29 [[TicketQuery(component=GoogleMapMacro&group=type,format=progress)]] 30 30 31 == !ToDo/Planned31 === !ToDo/Planned 32 32 33 33 * Implement some error handling for driving directions. … … 44 44 You can check out GoogleMapMacro from [/svn/googlemapmacro/0.11 here] using Subversion, or [source:googlemapmacro/0.11 browse the source] with Trac. 45 45 46 There is a develop version which can be unstable: [/svn/googlemapmacro/dev/0.11 check-out].46 There is a development version which can be unstable in some configurations: [/svn/googlemapmacro/dev/0.11 check-out]. 47 47 48 48 == Installation … … 87 87 88 88 The 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.89 If 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. 90 90 91 91 `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"`. … … 94 94 `center`:: Sets the center of the map to the given coordinates. The format is `{latitude}:{longitude}` or `"{latitude},{longitude}"`. 95 95 `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). 98 97 `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): 99 98 * `normal`: Normal street-map … … 101 100 * `hybrid`: Satellite picture with streets as overlay 102 101 * `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]): 106 105 * `LargeMap`: Control with buttons to pan in four directions, and zoom in and zoom out. 107 106 * `SmallMap`: Control with buttons to pan in four directions, and zoom in and zoom out, and a zoom slider.