Skip to content

Commit

Permalink
Fix raster map issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Mar 1, 2024
1 parent b7962c1 commit 2ff2451
Showing 1 changed file with 10 additions and 29 deletions.
39 changes: 10 additions & 29 deletions src/flightMap/mapstyle-raster.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}
}
]
}

0 comments on commit 2ff2451

Please sign in to comment.