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,5 +1,4 @@
goog.require('ol.Attribution');
goog.require('ol.Extent');
goog.require('ol.Map');
goog.require('ol.RendererHints');
goog.require('ol.View2D');
@@ -13,10 +12,10 @@ goog.require('ol.source.TiledWMS');
var projection = ol.projection.configureProj4jsProjection({
code: 'EPSG:21781',
extent: new ol.Extent(485869.5728, 76443.1884, 837076.5648, 299941.7864)
extent: [485869.5728, 837076.5648, 76443.1884, 299941.7864]
});
var extent = new ol.Extent(420000, 30000, 900000, 350000);
var extent = [420000, 900000, 30000, 350000];
var layers = [
new ol.layer.TileLayer({
source: new ol.source.TiledWMS({