Changes between Version 25 and Version 26 of GoogleStaticMapMacro
- Timestamp:
- Apr 14, 2018, 9:58:49 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GoogleStaticMapMacro
v25 v26 28 28 29 29 Download the macro as a [export:googlestaticmapmacro/0.11 zipped file]. 30 31 The plugin is also available on [pypi:GoogleStaticMapMacro PyPI]. 30 32 31 33 == Source … … 77 79 For example: 78 80 {{{ 79 [[GoogleStaticMap(center="5 0.805935,10.349121", zoom=5, size=400x400)]]80 [[GoogleStaticMap(center="G ermany", zoom=5, size=400x400)]]81 [[GoogleStaticMap(center="51.477222,0", zoom=14, size=400x400)]] 82 [[GoogleStaticMap(center="Greenwich", zoom=14, size=400x400)]] 81 83 }}} 82 84 83 85 will both result in the following map image: 84 86 85 [[Image(http ://maps.google.com/staticmap?center=50.805935%2C10.349121&zoom=5&size=400x400, nolink)]]87 [[Image(https://maps.googleapis.com/maps/api/staticmap?center=51.477222,0&zoom=14&size=400x400, nolink)]] 86 88 87 89 === Markers 88 90 89 91 You can add markers to the static map using the `markers` argument. The format is `markers=style settings|first location|next location|...` 90 ([https://developers.google.com/maps/documentation/staticmaps/intro?csw=1&safe=on]), 91 e.g.: `markers="size:mid|label:A|color:blue|50.805935,10.349121"`, creates a blue marker labeled with 'A' at 50.805935,10.349121. Again also addresses can be used to specify locations. 92 ([https://developers.google.com/maps/documentation/staticmaps/intro?csw=1&safe=on]), for example: `markers="size:mid|label:A|color:blue|50.805935,10.349121"`, creates a blue marker labeled with 'A' at 50.805935,10.349121. Again also addresses can be used to specify locations. 92 93 93 94 The whole value must be quoted if any commas are included. Multiple `markers` arguments can be given to add markers with different styles.