TracGoogleStaticMapMacro 0.3.7014

GoogleStaticMap Trac Macro
TracGoogleStaticMapMacro is a Trac macro that uses the Google Map API to include static images of maps. Static means that is is only a simple image without any user interaction not the usual feature-rich dynamic map on The positive side is that no javascript is needed to display the map image.

For a dynamic Google map use GoogleMapMacro.

The maximum size supported by Google is 640x640 pixels. If a bigger width or height is requested it will be reduced to 640px.


To enable this macro put the following into your trac.ini configuration file:

tracgooglestaticmapmacro.* = enabled

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.

googlestaticmap.* = enabled

api_key =
# Optional settings:
#default_size = 300x300
#default_language = de

last updated on:
November 4th, 2009, 12:47 GMT
license type:
GPL v3 
developed by:
Martin Scharrer
ROOT \ Internet \ HTTP (WWW)
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!

Add your review!