New extent structure in examples
This commit is contained in:
@@ -12,10 +12,10 @@ goog.require('ol.source.TileWMS');
|
||||
|
||||
var projection = ol.proj.configureProj4jsProjection({
|
||||
code: 'EPSG:21781',
|
||||
extent: [485869.5728, 837076.5648, 76443.1884, 299941.7864]
|
||||
extent: [[485869.5728, 76443.1884], [837076.5648, 299941.7864]]
|
||||
});
|
||||
|
||||
var extent = [420000, 900000, 30000, 350000];
|
||||
var extent = [[420000, 30000], [900000, 350000]];
|
||||
var layers = [
|
||||
new ol.layer.Tile({
|
||||
source: new ol.source.TileWMS({
|
||||
|
||||
Reference in New Issue
Block a user