wiki:GoogleStaticMapMacro

Version 1 (modified by Martin Scharrer, 15 years ago) (diff)

New hack GoogleStaticMapMacro, created by martin_s

Inserts a static Google Map as image

Description

This macro uses the Google Map API to include static images of maps. At the moment the map location must be given in geographic coordinates, not as address, which must be separated by an colon ':'.

Bugs/Feature Requests

Existing bugs and feature requests for GoogleStaticMapMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:googlestaticmapmacro here].

Source

You can check out GoogleStaticMapMacro from here using Subversion, or browse the source with Trac.

Example

[[GoogleStaticMap(center=50.805935:10.349121,zoom=5,size=400x400)]]

See http://code.google.com/apis/maps/documentation/staticmaps/#URL_Parameters for all supported arguments. In addition the image title can be set using a 'title' argument.

Recent Changes

17137 by rjollos on 2018-04-16 19:58:39
TracGoogleStaticMapMacro 1.1: Conform to PEP8
15264 by rjollos on 2016-02-11 04:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

8571 by martin_s on 2010-08-31 18:02:58
0.11/setup.py
Increaded version number to indicate major change due to Googles API change.
0.11/tracgooglestaticmap/macro.py
Fixed colon substitution for markers for api=1.
(more)

Author/Contributors

Author: martin_s
Contributors: