Add serverType option to ol.source.ImageWMS constructor
This commit is contained in:
@@ -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
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user