Add serverType option to ol.source.ImageWMS constructor

This commit is contained in:
Frederic Junod
2013-12-17 17:51:37 +01:00
parent 8e6b686f3d
commit 3e83809880
6 changed files with 50 additions and 2 deletions

View File

@@ -37,6 +37,7 @@ var layers = [
})],
crossOrigin: 'anonymous',
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
serverType: 'mapserver',
url: 'http://wms.geo.admin.ch/'
})
})