Changes between Version 25 and Version 26 of GoogleStaticMapMacro


Ignore:
Timestamp:
Apr 14, 2018, 9:58:49 AM (6 years ago)
Author:
figaro
Comment:

Added pypi link (haven't made the map to work yet)

Legend:

Unmodified
Added
Removed
Modified
  • GoogleStaticMapMacro

    v25 v26  
    2828
    2929Download the macro as a [export:googlestaticmapmacro/0.11 zipped file].
     30
     31The plugin is also available on [pypi:GoogleStaticMapMacro PyPI].
    3032
    3133== Source
     
    7779For example:
    7880{{{
    79 [[GoogleStaticMap(center="50.805935,10.349121", zoom=5, size=400x400)]]
    80 [[GoogleStaticMap(center="Germany", zoom=5, size=400x400)]]
     81[[GoogleStaticMap(center="51.477222,0", zoom=14, size=400x400)]]
     82[[GoogleStaticMap(center="Greenwich", zoom=14, size=400x400)]]
    8183}}}
    8284
    8385will both result in the following map image:
    8486
    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)]]
    8688
    8789=== Markers
    8890
    8991You 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.
    9293
    9394The whole value must be quoted if any commas are included. Multiple `markers` arguments can be given to add markers with different styles.