| 18 | |
| 19 | == Installation & Configuration == |
| 20 | |
| 21 | Just 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 | |
| 23 | A 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 | |
| 25 | To enable the macro put the following into your `trac.ini` file which is located in the `config` directory of your trac installation. |
| 26 | You need to restart trac to reread the macro file and the configuration file. |
| 27 | |
| 28 | {{{ |
| 29 | [components] |
| 30 | googlestaticmap.* = enabled |
| 31 | |
| 32 | [googlestaticmap] |
| 33 | api_key = <Your Google API key (long hex number)> |
| 34 | }}} |