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 http://maps.google.com/. 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.

Configuration:


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

[components]
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.

[components]
googlestaticmap.* = enabled

[googlestaticmap]
api_key =
# Optional settings:
#default_size = 300x300
#default_language = de

last updated on:
November 4th, 2009, 12:47 GMT
price:
FREE!
homepage:
www.trac-hacks.org
license type:
GPL v3 
developed by:
Martin Scharrer
category:
ROOT \ Internet \ HTTP (WWW)
TracGoogleStaticMapMacro
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT