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
+2 -2
View File
@@ -28,7 +28,7 @@ var layers = [
'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale',
'FORMAT': 'image/jpeg'
},
serverType: 'mapserver',
serverType: /** @type {ol.source.wms.ServerType} */ ('mapserver'),
extent: extent
})
}),
@@ -43,7 +43,7 @@ var layers = [
'National parks / geo.admin.ch</a>'
})],
params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'},
serverType: 'mapserver',
serverType: /** @type {ol.source.wms.ServerType} */ ('mapserver'),
extent: extent
})
})