Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Default to cartographic label placement for point layers
It's much nicer than "around point"
  • Loading branch information
nyalldawson committed Jul 27, 2016
1 parent cd22d4f commit e0609d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgspallabeling.cpp
Expand Up @@ -786,6 +786,9 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer )
{
if ( layer->customProperty( "labeling" ).toString() != QLatin1String( "pal" ) )
{
if ( layer->geometryType() == Qgis::Point )
placement = OrderedPositionsAroundPoint;

// for polygons the "over point" (over centroid) placement is better than the default
// "around point" (around centroid) which is more suitable for points
if ( layer->geometryType() == Qgis::Polygon )
Expand Down

0 comments on commit e0609d6

Please sign in to comment.