Rename source.wms.ServerType ➛ source.WMSServerType

This commit is contained in:
Marc Jansen
2016-09-02 13:34:06 +02:00
parent 98aba50735
commit 9bf524a288
7 changed files with 23 additions and 26 deletions

View File

@@ -41,7 +41,7 @@ var layers = [
'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale',
'FORMAT': 'image/jpeg'
},
serverType: /** @type {ol.source.wms.ServerType} */ ('mapserver')
serverType: /** @type {ol.source.WMSServerType} */ ('mapserver')
})
}),
new ol.layer.Image({
@@ -52,7 +52,7 @@ var layers = [
attributions: '© <a href="http://www.geo.admin.ch/internet/geoportal/' +
'en/home.html">National parks / geo.admin.ch</a>',
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
serverType: /** @type {ol.source.wms.ServerType} */ ('mapserver')
serverType: /** @type {ol.source.WMSServerType} */ ('mapserver')
})
})
];