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

@@ -15,6 +15,7 @@ var layers = [
source: new ol.source.ImageWMS({
url: 'http://demo.opengeo.org/geoserver/wms',
params: {'LAYERS': 'topp:states'},
serverType: 'geoserver',
extent: [-13884991, 2870341, -7455066, 6338219]
})
})