Port examples to new extents
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user