From dae544f0ecac9ba25e4d2ea7df94a83d56ae1bff Mon Sep 17 00:00:00 2001 From: Torsten Dreyer Date: Tue, 27 Oct 2015 22:11:32 +0100 Subject: [PATCH] Phi: add the openaip layer to the map Thanks to Laurent for this idea! --- Phi/topics/Map.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Phi/topics/Map.js b/Phi/topics/Map.js index a4062e388..fab299c93 100644 --- a/Phi/topics/Map.js +++ b/Phi/topics/Map.js @@ -137,6 +137,16 @@ define([ "Navigation Data": L.navdbLayer(), "Other Traffic": L.aiLayer(), + "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, + tms: true, + detectRetina: true, + subdomains: '12', + format: 'image/png', + transparent: true + }), + "VFRMap.com Sectionals (US)" : new L.TileLayer('http://vfrmap.com/20140918/tiles/vfrc/{z}/{y}/{x}.jpg', { maxZoom : 12, minZoom : 3,