diff options
Diffstat (limited to 'src/frontend/app/routes/map.tsx')
| -rw-r--r-- | src/frontend/app/routes/map.tsx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index f705617..d3288e9 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -145,10 +145,11 @@ export default function StopMap() { zoom: mapState.zoom, }} attributionControl={false} - maxBounds={REGIONS[region].bounds ? [ - REGIONS[region].bounds!.sw, - REGIONS[region].bounds!.ne, - ] : undefined} + maxBounds={ + REGIONS[region].bounds + ? [REGIONS[region].bounds!.sw, REGIONS[region].bounds!.ne] + : undefined + } > <NavigationControl position="top-right" /> <GeolocateControl position="top-right" trackUserLocation={true} /> @@ -188,12 +189,12 @@ export default function StopMap() { "text-offset": [0, 3], "text-anchor": "center", "text-justify": "center", - "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16] + "text-size": ["interpolate", ["linear"], ["zoom"], 11, 8, 22, 16], }} paint={{ "text-color": `${REGIONS[region].textColour || "#000"}`, "text-halo-color": "#FFF", - "text-halo-width": 1 + "text-halo-width": 1, }} /> |
