Skip to content
Permalink
Browse files

Default to cartographic label placement for point layers

It's much nicer than "around point"

(cherry-picked from 66d4af3)
  • Loading branch information
nyalldawson committed Aug 9, 2016
1 parent b3b372d commit f6519faabc978016ca4e1b66a85552e7b1b0785e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgspallabeling.cpp
@@ -789,6 +789,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 )

0 comments on commit f6519fa

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