TileDrawer: change bright style background color
![]() |
Bright style after changing the background color. |
The change is a one liner: go to /usr/local/tiledrawer/gunicorn, edit the second line of style.xml and change the bgcolor attribute to whatever you like. I used rgb(241,238,232).
Diff:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- style.xml.orig 2012-05-31 15:39:50.080704580 +0200 | |
+++ style.xml 2012-05-31 15:40:36.856701370 +0200 | |
@@ -1,5 +1,5 @@ | |
<?xml version="1.0" encoding="utf-8"?> | |
-<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" bgcolor="rgb(140,182,211)"> | |
+<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over" bgcolor="rgb(241,238,232)"> | |
<Style name="line pattern style 110"> | |
<Rule name="rule 589"> | |
<Filter>(not (([tunnel]='true')) and not (([tunnel]='yes')))</Filter> |