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