Version 3 (modified by martin_s, 7 years ago) (diff)

Changed changlog to 0.11 release directory only

Inserts a dynamic Google Map into wiki pages


This macro lets the user insert a full dynamic Google Map. Because a lot of javascript is used (by Google) a Google Map compatible browser is needed. Newer version of Firefox and MS Internet Explorer are compatible.

For javascript-less static maps use the similar GoogleStaticMapMacro.

Please note that this is an alpha version which still lacks a lot of functionality. Especially the geocoding, i.e. address-to-coordinates conversion, is not implemented yet, so longitude and latitude coordinates must be given. These can be taken from the Google Maps website.

Bugs/Feature Requests

Existing bugs and feature requests for GoogleMapMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from here.


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

Installation & Configuration

Just copy the python file in the plugin directory of your trac installation.

A different Google Map API key is needed for every web domain which can be get for free from Google.

To enable the macro put the following into your trac.ini file, which is located in the config directory of your trac installation. You need to restart trac to reread the macro file and the configuration file.

googlemap.* = enabled

api_key = <Your Google API key (long hex number)>



Recent Changes

[8649] by martin_s on 2010-09-06 12:08:31
Added support for mulit-line wiki processor syntax. Ref: 7628.
[8648] by martin_s on 2010-09-06 12:07:24
Added stylesheet file.
[8546] by martin_s on 2010-08-30 23:57:36
Added encoding meta-comment and declared SVN keywords as unicode to avoid issues with non-english locales.


Author: martin_s