expose get/set for allow_overlap in MarkersSymbolizer
This commit is contained in:
parent
c13e2eab8d
commit
97eb553605
1 changed files with 11 additions and 2 deletions
|
@ -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_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue