add geometry_collection type
This commit is contained in:
parent
c5c5fc9e62
commit
30da25a9c7
1 changed files with 4 additions and 1 deletions
|
@ -205,7 +205,10 @@ struct polygon : vertex_sequence
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef mapnik::util::variant< point,line_string, polygon3, multi_point, multi_line_string, multi_polygon> geometry;
|
struct geometry_collection;
|
||||||
|
typedef mapnik::util::variant< point,line_string, polygon3, multi_point, multi_line_string, multi_polygon, mapnik::util::recursive_wrapper<geometry_collection> > geometry;
|
||||||
|
|
||||||
|
struct geometry_collection : std::vector<geometry> {};
|
||||||
|
|
||||||
struct point_vertex_adapter
|
struct point_vertex_adapter
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue