Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

made text_placement a property.

  • Loading branch information...
commit 5b05ffe1a4c3193d2907af2e738a8d2a91d26bc0 1 parent 59f940b
@artemp artemp authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 bindings/python/mapnik_text_symbolizer.cpp
View
7 bindings/python/mapnik_text_symbolizer.cpp
@@ -67,7 +67,10 @@ void export_text_symbolizer()
.add_property("avoid_edges",
&text_symbolizer::get_avoid_edges,
&text_symbolizer::set_avoid_edges)
- .def("set_label_placement",&text_symbolizer::set_label_placement,
- "Set the placement of the label")
+
+ .add_property("set_label_placement",
+ &text_symbolizer::get_label_placement,
+ &text_symbolizer::set_label_placement,
+ "Set/get the placement of the label")
;
}
Please sign in to comment.
Something went wrong with that request. Please try again.