From 2ff2451ceaa3c14f9e75499fce546e7a2834b6ac Mon Sep 17 00:00:00 2001 From: Stefan Kebekus Date: Fri, 1 Mar 2024 07:50:51 +0100 Subject: [PATCH] Fix raster map issue --- src/flightMap/mapstyle-raster.json | 39 ++++++++---------------------- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/src/flightMap/mapstyle-raster.json b/src/flightMap/mapstyle-raster.json index 938a60c83..a594268cd 100644 --- a/src/flightMap/mapstyle-raster.json +++ b/src/flightMap/mapstyle-raster.json @@ -1,35 +1,16 @@ - { - "sources": { - "approach": { - "type": "image", - "url": "%APCHIMAGE%", - "coordinates": [ - [%APCHLEFT%, %APCHTOP%], - [%APCHRIGHT%, %APCHTOP%], - [%APCHRIGHT%, %APCHBOT%], - [%APCHLEFT%, %APCHBOT%] - ] - }, - "raster-tiles": { +{ + "sources": { + "raster-tiles": { "type": "raster", "tileSize": 256, "url": "%URL%" - } - }, - "glyphs": "%URL2%/flightMap/fonts/{fontstack}/{range}.pbf", - "layers": [ - { + } + }, + "layers": [ + { "id": "simple-tiles", "type": "raster", "source": "raster-tiles" - }, - { - "id": "apch", - "type": "raster", - "source": "approach", - "layout": { - "visibility": "%VISIBILITY" - } - } - ] - } + } + ] +} \ No newline at end of file