feat: v0.18.0 part 1 — ISS-010 bigger airport markers
This commit is contained in:
+3
-3
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user