+ use the same halo fill rgb(255,255,200) in both c++ and python demos
This commit is contained in:
parent
4a07a62bfd
commit
b45a5aa76a
1 changed files with 10 additions and 10 deletions
|
@ -306,7 +306,7 @@ popplaces_text_symbolizer = mapnik.TextSymbolizer(mapnik.Expression("[GEONAME]")
|
||||||
# We set a "halo" around the text, which looks like an outline if thin enough,
|
# We set a "halo" around the text, which looks like an outline if thin enough,
|
||||||
# or an outright background if large enough.
|
# or an outright background if large enough.
|
||||||
popplaces_text_symbolizer.label_placement= mapnik.label_placement.POINT_PLACEMENT
|
popplaces_text_symbolizer.label_placement= mapnik.label_placement.POINT_PLACEMENT
|
||||||
popplaces_text_symbolizer.halo_fill = mapnik.Color('white')
|
popplaces_text_symbolizer.halo_fill = mapnik.Color(255,255,200)
|
||||||
popplaces_text_symbolizer.halo_radius = 1
|
popplaces_text_symbolizer.halo_radius = 1
|
||||||
popplaces_text_symbolizer.avoid_edges = True
|
popplaces_text_symbolizer.avoid_edges = True
|
||||||
#popplaces_text_symbolizer.minimum_padding = 30
|
#popplaces_text_symbolizer.minimum_padding = 30
|
||||||
|
|
Loading…
Reference in a new issue