Cast serverType option in examples
This commit is contained in:
@@ -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/'
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user