From 1e0d4f83dc8eafc558fb6115941a2776dbc72883 Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Tue, 7 Oct 2014 23:19:09 +0200 Subject: [PATCH] browser map: add vfrmap.com overlay --- webgui/map/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/webgui/map/index.html b/webgui/map/index.html index 35012fbaf..aba408f71 100644 --- a/webgui/map/index.html +++ b/webgui/map/index.html @@ -128,6 +128,17 @@ html,body,#map { attribution : 'Tiles Courtesy of MapQuest.' }); + var vfrMap = new L.TileLayer( + 'http://vfrmap.com/20140918/tiles/vfrc/{z}/{y}/{x}.jpg', + { + maxZoom : 12, + minZoom : 3, + attribution : '(c) VFRMap.com', + tms: true, + opacity: 0.5, + bounds: L.latLngBounds(L.latLng(16.0,-179.0), L.latLng(72.0,-60.0) ), + }); + var icaoGermany = new L.TileLayer('https://secais.dfs.de/static-maps/ICAO500-2014-DACH-Reprojected/tiles/{z}/{x}/{y}.png', { maxZoom : 15, attribution : 'Map data © DFS' @@ -519,6 +530,7 @@ html,body,#map { var overlays = { "NAVDB" : navdbLayer, "AI" : aiLayer, + "VFRMap.com" : vfrMap, //"ICAO VFR (Germany)" : icaoGermany, //"Lower Airspace (Germany)" : lowerGermany, "Precipitation" : owmPrecipitation,