Skip to content

Commit

Permalink
Adapt municipality label font size according to zoom level
Browse files Browse the repository at this point in the history
  • Loading branch information
henhuy committed Apr 18, 2024
1 parent 6d7d49f commit 766c182
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions digiplan/static/config/layer_styles.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
"region-label": {
"type": "symbol",
"layout": {
"text-size": [
"interpolate",
["linear"],
["zoom"],
8,
10,
14,
30
],
"text-field": "{name}",
"text-letter-spacing": 0.04,
"text-radial-offset": 2,
Expand Down

0 comments on commit 766c182

Please sign in to comment.