[OpenLayers-Users] OS python utility script to generate OpenLayers buttons in different colors

Marc Jansen jansen at terrestris.de
Tue Jul 28 05:38:23 EDT 2009


Hi list,

my company terrestris just released a small BSD-licensed commandline 
utility script to recolor the OpenLayers-buttons (pan-north, pan-east, 
zoom-in ... etc.): the OpenLayersButtonGenerator. If you ever wanted to 
use OpenLayers with different colors for some of the standard controls 
(e.g. to follow a certain corporate design), this might help a lot.

Newsentry (German only, sorry):  
http://www.terrestris.de/2009/07/27/opensource-hilfsscript-zum-umfarben-und-restylen-der-openlayers-buttons-openlayersbuttongenerator/

Download (*tar.gz, roughly 13KB): 
http://www.terrestris.de/wp-media/downloads/OpenLayersButtonGenerator.tar.gz

Examples:  ./generateButtons.py 'black' '#ededed'

...would generate black and grey buttons ready to replace the existent 
buttons in the img-folder.

The script is written in python and makes use of inkscape to convert 
SVG-files to PNGs.

We would love to have feedback on this tool to further enhance its 
functionality.

|**||**| Regards,

Marc







More information about the Users mailing list