Skip to content

Commit

Permalink
Hide some labels at high zooms
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed May 22, 2024
1 parent 23b3890 commit 5412894
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/style/map_style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@ const layers: LayerSpecificationWithZIndex[] = [
source: 'site_plan',
'source-layer': 'labels_point',
minzoom: 16,
maxzoom: 21,
layout: {
'text-field': '{text}',
'text-font': ['Raleway SemiBold'],
Expand All @@ -1109,6 +1110,7 @@ const layers: LayerSpecificationWithZIndex[] = [
source: 'site_plan',
'source-layer': 'labels_point',
minzoom: 15,
maxzoom: 20,
layout: {
'text-field': '{text}',
'text-font': ['Raleway SemiBold'],
Expand Down

0 comments on commit 5412894

Please sign in to comment.