Cast serverType option in examples

This commit is contained in:
Frederic Junod
2013-12-19 16:31:08 +01:00
parent 5f3d018476
commit e4ea8a750e
3 changed files with 4 additions and 4 deletions

View File

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