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

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