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

@@ -28,6 +28,7 @@ var layers = [
'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale',
'FORMAT': 'image/jpeg'
},
serverType: 'mapserver',
extent: extent
})
}),
@@ -42,6 +43,7 @@ var layers = [
'National parks / geo.admin.ch</a>'
})],
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
serverType: 'mapserver',
extent: extent
})
})