Remove unnecessary typecasts in examples

This commit is contained in:
Frederic Junod
2015-03-30 10:58:34 +02:00
parent 254039a6ab
commit 778ccd3999
3 changed files with 43 additions and 48 deletions
+2 -2
View File
@@ -11,11 +11,11 @@ var layers = [
}),
new ol.layer.Tile({
extent: [-13884991, 2870341, -7455066, 6338219],
source: new ol.source.TileWMS(/** @type {olx.source.TileWMSOptions} */ ({
source: new ol.source.TileWMS({
url: 'http://demo.boundlessgeo.com/geoserver/wms',
params: {'LAYERS': 'topp:states', 'TILED': true},
serverType: 'geoserver'
}))
})
})
];
var map = new ol.Map({