Skip to content
Permalink
Browse files

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 ed69bf2 commit 66d4af3922acbd3cdb1f0e25615fd01b5eeb3dee
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgspallabeling.cpp
@@ -785,6 +785,9 @@ void QgsPalLayerSettings::readFromLayer( QgsVectorLayer* layer )
{
if ( layer->customProperty( "labeling" ).toString() != QLatin1String( "pal" ) )
{
if ( layer->geometryType() == QgsWkbTypes::PointGeometry )
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() == QgsWkbTypes::PolygonGeometry )

0 comments on commit 66d4af3

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