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

@@ -37,7 +37,7 @@ var layers = [
})],
crossOrigin: 'anonymous',
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
serverType: /** @type {ol.source.wms.ServerType} */ ('mapserver'),
serverType: 'mapserver',
url: 'http://wms.geo.admin.ch/'
})
})