+ use the same halo fill rgb(255,255,200) in both c++ and python demos

This commit is contained in:
artemp 2013-01-10 20:51:36 +00:00
parent 4a07a62bfd
commit b45a5aa76a

View file

@ -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