visual tests : fix marker-on-hex-grid
This commit is contained in:
parent
c1bc8ffc64
commit
4f3c8663a3
1 changed files with 2 additions and 2 deletions
|
@ -171,9 +171,9 @@ struct render_marker_symbolizer_visitor
|
||||||
if (clip) // optional clip (default: true)
|
if (clip) // optional clip (default: true)
|
||||||
{
|
{
|
||||||
geometry::geometry_types type = geometry::geometry_type(feature_.get_geometry());
|
geometry::geometry_types type = geometry::geometry_type(feature_.get_geometry());
|
||||||
if (type == geometry::geometry_types::Polygon)
|
if (type == geometry::geometry_types::Polygon || type == geometry::geometry_types::MultiPolygon)
|
||||||
converter.template set<clip_poly_tag>();
|
converter.template set<clip_poly_tag>();
|
||||||
else if (type == geometry::geometry_types::LineString)
|
else if (type == geometry::geometry_types::LineString || type == geometry::geometry_types::MultiLineString)
|
||||||
converter.template set<clip_line_tag>();
|
converter.template set<clip_line_tag>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue