expose get/set for allow_overlap in MarkersSymbolizer

This commit is contained in:
Dane Springmeyer 2010-04-15 21:47:44 +00:00
parent c13e2eab8d
commit 97eb553605

View file

@ -29,10 +29,19 @@ namespace mapnik {
struct MAPNIK_DECL markers_symbolizer struct MAPNIK_DECL markers_symbolizer
{ {
public: public:
markers_symbolizer() markers_symbolizer()
: allow_overlap_(false) {} : allow_overlap_(false) {}
private:
void set_allow_overlap(bool overlap)
{
allow_overlap_ = overlap;
}
float get_allow_overlap() const
{
return allow_overlap_;
}
private:
bool allow_overlap_; bool allow_overlap_;
}; };