Skip to content

Commit ce77dd9

Browse files
committed
fix: show pins at zoom 8 to avoid visibility gap
1 parent c32806e commit ce77dd9

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

app/composables/useMapIcons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function useMapIcons() {
9797
'source': 'locations',
9898
'source-layer': 'locations',
9999
'filter': ['!', ['has', 'point_count']], // Hide cluster circles (they have point_count)
100-
'minzoom': 9, // Show individual pins at zoom 9+ (clusters disappear at 8)
100+
'minzoom': 8, // Show individual pins at zoom 8+ (clusters disappear at 8)
101101
'maxzoom': 24,
102102
'layout': {
103103
'icon-image': iconExpression,
@@ -132,7 +132,7 @@ export function useMapIcons() {
132132
'source': 'locations',
133133
'source-layer': 'locations',
134134
'filter': ['==', ['get', 'uuid'], ''], // Initially hidden (matches nothing)
135-
'minzoom': 9,
135+
'minzoom': 8,
136136
'maxzoom': 24,
137137
'layout': {
138138
'icon-image': 'active',

pnpm-lock.yaml

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ catalogs:
4444
'@unocss/nuxt': ^66.5.9
4545
maplibre-gl: ^5.13.0
4646
motion-v: ^1.7.4
47-
nimiq-css: ^1.0.0-beta.146
48-
nimiq-flags: ^1.0.0-beta.146
49-
nimiq-icons: ^1.0.0-beta.146
47+
nimiq-css: ^1.0.0-beta.149
48+
nimiq-flags: ^1.0.0-beta.149
49+
nimiq-icons: ^1.0.0-beta.149
5050
reka-ui: ^2.6.0
5151
unocss: ^66.5.9
5252
unocss-preset-onmax: 1.0.0-beta.52

0 commit comments

Comments
 (0)