From 5602ca227f9795b837c40e8a168919054ef3e9a8 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Sun, 21 Sep 2008 19:52:12 +0000 Subject: [PATCH] + use 'avoid_edges' parameter --- demo/python/rundemo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo/python/rundemo.py b/demo/python/rundemo.py index 3e1794665..be8839796 100644 --- a/demo/python/rundemo.py +++ b/demo/python/rundemo.py @@ -289,6 +289,7 @@ popplaces_text_symbolizer = TextSymbolizer('GEONAME', popplaces_text_symbolizer.set_label_placement=label_placement.POINT_PLACEMENT popplaces_text_symbolizer.halo_fill = Color('white') popplaces_text_symbolizer.halo_radius = 1 +popplaces_text_symbolizer.avoid_edges = True popplaces_rule.symbols.append(popplaces_text_symbolizer) popplaces_style.rules.append(popplaces_rule)