Activate HiDPI support in wms-tiled example

This commit is contained in:
Tom Payne
2014-01-15 13:56:49 +01:00
parent 2253be7adc
commit a7426a82ff

View File

@@ -11,11 +11,12 @@ var layers = [
source: new ol.source.MapQuest({layer: 'sat'})
}),
new ol.layer.Tile({
source: new ol.source.TileWMS({
source: new ol.source.TileWMS(/** @type {olx.source.TileWMSOptions} */ ({
url: 'http://demo.opengeo.org/geoserver/wms',
params: {'LAYERS': 'topp:states', 'TILED': true},
extent: [-13884991, 2870341, -7455066, 6338219]
})
extent: [-13884991, 2870341, -7455066, 6338219],
serverType: 'geoserver'
}))
})
];
var map = new ol.Map({