Don't use ol.source.wms.ServerType enum in examples

This commit is contained in:
Tom Payne
2014-02-06 22:32:42 +01:00
parent d4ebfac74a
commit 0475705a49
2 changed files with 2 additions and 2 deletions

View File

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