TracGoogleStaticMapMacro

GoogleStaticMap Trac Macro
Download

TracGoogleStaticMapMacro Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Price:
  • FREE
  • Publisher Name:
  • Martin Scharrer
  • Publisher web site:
  • http://scharrer-online.de

TracGoogleStaticMapMacro Tags


TracGoogleStaticMapMacro Description

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:tracgooglestaticmapmacro.* = enabledInstallation & 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.* = enabledapi_key = # Optional settings:#default_size = 300x300#default_language = de Requirements: · Trac · Python


TracGoogleStaticMapMacro Related Software