1
0
Fork 0

Add OpenFlightMaps layer

Code changes are from:
 https://github.com/Thilo277/Flightgear-openflightmaps/blob/main/FGDATA_Phi_topics_Map.js.diff

Patch by Thilo Schürman
This commit is contained in:
James Turner 2022-07-25 09:51:38 +01:00
parent 32e3a03946
commit 89ec23f572

View file

@ -137,6 +137,12 @@ define([
"Navigation Data": L.navdbLayer(),
"Other Traffic": L.aiLayer(),
"OpenFlightMaps": new L.TileLayer("https://nwy-tiles-api.prod.newaydata.com/tiles/{z}/{x}/{y}.png?path=2207/aero/latest", {
maxZoom: 13,
minZoom: 7,
attribution: '<a target="_blank" href="http://openflightmaps.org">&copy; open flightmaps association</a>'
}),
"OpenAIP": new L.TileLayer("http://{s}.tile.maps.openaip.net/geowebcache/service/tms/1.0.0/openaip_basemap@EPSG%3A900913@png/{z}/{x}/{y}.png", {
maxZoom: 14,
minZoom: 4,