Skip to content
Permalink
Browse files

Merge pull request #34441 from rldhont/fix-read-sld-textsymbolizer-po…

…intplacement-for-lines

[Bugfix] Read SLD TextSymbolizer PointPlacement for lines
  • Loading branch information
rldhont committed Feb 13, 2020
2 parents 37a4c10 + f38cc55 commit 82324ece0c9da91e1b3b2663cd70b0c3a8951965
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -4620,7 +4620,7 @@ bool QgsVectorLayer::readSldTextSymbolizer( const QDomNode &node, QgsPalLayerSet
settings.placement = QgsPalLayerSettings::OverPoint;
if ( geometryType() == QgsWkbTypes::LineGeometry )
{
settings.placement = QgsPalLayerSettings::Line;
settings.placement = QgsPalLayerSettings::Horizontal;
}

QDomElement displacementElem = pointPlacementElem.firstChildElement( QStringLiteral( "Displacement" ) );

0 comments on commit 82324ec

Please sign in to comment.
You can’t perform that action at this time.