Skip to content

Commit dfe1151

Browse files
committed
Fix mapnik for the example map (<Map bgcolor=) now.
Replace the `bgcolor=`, which was changed to `background-color=`, attribute in top level `<Map` element. This was changed in mapnik 2+ cf: https://github.com/mapnik/mapnik/wiki/Mapnik2_Changes#cssparameters----properties. This is a follow up from 17603aa, which did the first part, but I overlooked this necessary change.
1 parent 531f66c commit dfe1151

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ tirex (0.8.0-pre) unstable; urgency=medium
77
* Ensure tirex stats are initialized to 0 not null cf issue #29
88
* Default master timeout raised from 10 to 60 minutes
99
* mapnik fontdir_recurse default changed to true
10+
* Correct syntax in example map to match current mapnik API
1011

1112
-- Frederik Ramm <ramm@geofabrik.de> Thu, 19 May 2022 13:41:14 +0200
1213

example-map/example.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Map bgcolor="#eeebe2" 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">
2+
<Map background-color="#eeebe2" 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">
33
<Style name="ocean">
44
<Rule>
55
<PolygonSymbolizer fill="#b1d2f5" />

0 commit comments

Comments
 (0)