fix(mobile): on a narrow 3D map the flyover controls and grade legend stand as a column of icons on the side, the layer pill keeps the bottom row; and the lint ratchets the last push tipped

This commit is contained in:
Maurice
2026-11-08 12:30:12 +01:00
parent ed6724035e
commit 305b00ae01
5 changed files with 138 additions and 37 deletions
+1 -2
View File
@@ -118,10 +118,9 @@ function onStyleFailure(layer: GlLeafletLayer, fail: () => void): void {
gl.once('style.load', () => {
loaded = true
})
const onError = (event: { error?: unknown }) => {
const onError = () => {
if (loaded) return
gl.off('error', onError)
console.warn('[basemap] the vector style did not load, drawing raster tiles', event.error)
fail()
}
gl.on('error', onError)