Port examples to new extents

This commit is contained in:
Tom Payne
2013-04-16 16:28:41 +02:00
parent f81658f542
commit a642868cfa
5 changed files with 10 additions and 14 deletions

View File

@@ -1,4 +1,3 @@
goog.require('ol.Extent');
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
@@ -15,7 +14,7 @@ var layers = [
source: new ol.source.TiledWMS({
url: 'http://demo.opengeo.org/geoserver/wms',
params: {'LAYERS': 'topp:states', 'TILED': true},
extent: new ol.Extent(-13884991, 2870341, -7455066, 6338219)
extent: [-13884991, -7455066, 2870341, 6338219]
})
})
];