1
0
Fork 0

Phi: add the openaip layer to the map

Thanks to Laurent for this idea!
This commit is contained in:
Torsten Dreyer 2015-10-27 22:11:32 +01:00
parent 8e03960e3b
commit dae544f0ec

View file

@ -137,6 +137,16 @@ define([
"Navigation Data": L.navdbLayer(), "Navigation Data": L.navdbLayer(),
"Other Traffic": L.aiLayer(), "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', { "VFRMap.com Sectionals (US)" : new L.TileLayer('http://vfrmap.com/20140918/tiles/vfrc/{z}/{y}/{x}.jpg', {
maxZoom : 12, maxZoom : 12,
minZoom : 3, minZoom : 3,