Changes between Version 1 and Version 2 of GoogleStaticMapMacro


Ignore:
Timestamp:
Oct 24, 2008 9:25:08 PM (6 years ago)
Author:
martin_s
Comment:

Added installation and configuration section

Legend:

Unmodified
Added
Removed
Modified
  • GoogleStaticMapMacro

    v1 v2  
    1616 
    1717Download the zipped source from [download:googlestaticmapmacro here]. 
     18 
     19== Installation & Configuration == 
     20 
     21Just copy the [http://trac-hacks.org/browser/googlestaticmapmacro/0.11/googlestaticmap.py?format=raw python file] in the `plugin` directory of your trac installation. 
     22 
     23A different Google Map API key is needed for every web domain which can be [http://code.google.com/apis/maps/signup.html get for free from Google]. 
     24 
     25To enable the macro put the following into your `trac.ini` file which is located in the `config` directory of your trac installation. 
     26You need to restart trac to reread the macro file and the configuration file. 
     27 
     28{{{ 
     29[components] 
     30googlestaticmap.* = enabled 
     31 
     32[googlestaticmap] 
     33api_key = <Your Google API key (long hex number)> 
     34}}} 
    1835 
    1936== Source ==