v0.18.0 — ISS-010 relocate empty planes + bigger airport markers + popup options #20

Merged
kamilkrzywda merged 5 commits from feat/plane-relocation into master 2026-09-19 18:44:57 +02:00
Showing only changes of commit 09c1d8bcd8 - Show all commits
+3 -3
View File
@@ -224,9 +224,9 @@ export default function FlightMap({ state, hovered }: MapProps) {
type: 'circle', type: 'circle',
source: AIRPORTS_SOURCE_ID, source: AIRPORTS_SOURCE_ID,
paint: { paint: {
'circle-radius': 3, 'circle-radius': 5, // ISS-010 (v0.18.0): bigger — the r=3 dots were hard to click
'circle-color': '#e11d48', 'circle-color': '#e11d48',
'circle-stroke-width': 1, 'circle-stroke-width': 1.5,
'circle-stroke-color': '#ffffff', 'circle-stroke-color': '#ffffff',
}, },
}); });
@@ -317,7 +317,7 @@ export default function FlightMap({ state, hovered }: MapProps) {
source: AIRPORTS_SOURCE_ID, source: AIRPORTS_SOURCE_ID,
filter: ['any', ['==', ['get', 'icao'], ''], ['==', ['get', 'icao'], '']], filter: ['any', ['==', ['get', 'icao'], ''], ['==', ['get', 'icao'], '']],
paint: { paint: {
'circle-radius': 8, // ring around the base airport circles (r=3) 'circle-radius': 9, // ring around the base airport circles (r=5)
'circle-color': 'rgba(0, 0, 0, 0)', // transparent fill — stroke-only ring 'circle-color': 'rgba(0, 0, 0, 0)', // transparent fill — stroke-only ring
'circle-stroke-width': 2.5, 'circle-stroke-width': 2.5,
'circle-stroke-color': '#facc15', 'circle-stroke-color': '#facc15',