parent
e6e7b4c700
commit
6f174287a2
1 changed files with 6 additions and 9 deletions
|
@ -242,16 +242,13 @@ void text_symbolizer_helper<FaceManagerT, DetectorT>::initialize_points()
|
|||
}
|
||||
else
|
||||
{
|
||||
if (how_placed == POINT_PLACEMENT)
|
||||
{
|
||||
if (geom.type() == Polygon)
|
||||
{
|
||||
label::centroid(geom, label_x, label_y);
|
||||
}
|
||||
else if (geom.type() == LineString)
|
||||
if (geom.type() == LineString)
|
||||
{
|
||||
label::middle_point(geom, label_x,label_y);
|
||||
}
|
||||
else if (how_placed == POINT_PLACEMENT)
|
||||
{
|
||||
label::centroid(geom, label_x, label_y);
|
||||
}
|
||||
else if (how_placed == INTERIOR_PLACEMENT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue