Skip to content

Commit 3f4f5f0

Browse files
author
Sandro Santilli
committed
Set max number of labels to 100 for edge label layer (topoviewer)
1 parent a4e621d commit 3f4f5f0

File tree

1 file changed

+11
-1
lines changed
  • python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates

1 file changed

+11
-1
lines changed

python/plugins/db_manager/db_plugins/postgis/plugins/qgis_topoview/templates/edge_label.qml

+11-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</symbol>
1818
</symbols>
1919
<rotation field=""/>
20-
<sizescale field="" scalemethod=""/>
20+
<sizescale field="" scalemethod="area"/>
2121
</renderer-v2>
2222
<customproperties>
2323
<property key="labeling" value="pal"/>
@@ -45,6 +45,7 @@
4545
<property key="labeling/dataDefinedProperty18" value=""/>
4646
<property key="labeling/dataDefinedProperty19" value=""/>
4747
<property key="labeling/dataDefinedProperty2" value=""/>
48+
<property key="labeling/dataDefinedProperty20" value=""/>
4849
<property key="labeling/dataDefinedProperty3" value=""/>
4950
<property key="labeling/dataDefinedProperty4" value=""/>
5051
<property key="labeling/dataDefinedProperty5" value=""/>
@@ -62,6 +63,9 @@
6263
<property key="labeling/fontFamily" value="AlArabiya"/>
6364
<property key="labeling/fontItalic" value="false"/>
6465
<property key="labeling/fontLetterSpacing" value="0"/>
66+
<property key="labeling/fontLimitPixelSize" value="false"/>
67+
<property key="labeling/fontMaxPixelSize" value="10000"/>
68+
<property key="labeling/fontMinPixelSize" value="3"/>
6569
<property key="labeling/fontSize" value="8"/>
6670
<property key="labeling/fontSizeInMapUnits" value="false"/>
6771
<property key="labeling/fontStrikeout" value="false"/>
@@ -72,19 +76,25 @@
7276
<property key="labeling/isExpression" value="false"/>
7377
<property key="labeling/labelOffsetInMapUnits" value="true"/>
7478
<property key="labeling/labelPerPart" value="false"/>
79+
<property key="labeling/leftDirectionSymbol" value="&lt;"/>
80+
<property key="labeling/limitNumLabels" value="true"/>
81+
<property key="labeling/maxNumLabels" value="100"/>
7582
<property key="labeling/mergeLines" value="false"/>
7683
<property key="labeling/minFeatureSize" value="0"/>
7784
<property key="labeling/multiLineLabels" value="false"/>
7885
<property key="labeling/multilineAlign" value="0"/>
7986
<property key="labeling/multilineHeight" value="1"/>
8087
<property key="labeling/namedStyle" value=""/>
8188
<property key="labeling/obstacle" value="true"/>
89+
<property key="labeling/placeDirectionSymbol" value="0"/>
8290
<property key="labeling/placement" value="2"/>
8391
<property key="labeling/placementFlags" value="9"/>
8492
<property key="labeling/plussign" value="true"/>
8593
<property key="labeling/preserveRotation" value="true"/>
8694
<property key="labeling/previewBkgrdColor" value="#ffffff"/>
8795
<property key="labeling/priority" value="5"/>
96+
<property key="labeling/reverseDirectionSymbol" value="false"/>
97+
<property key="labeling/rightDirectionSymbol" value=">"/>
8898
<property key="labeling/scaleMax" value="0"/>
8999
<property key="labeling/scaleMin" value="0"/>
90100
<property key="labeling/textColorB" value="0"/>

0 commit comments

Comments
 (0)