Changing extent structure back to single array: [minX, minY, maxX, maxY]
This means we'll have to have a new structure and new methods for 3D envelopes.
This commit is contained in:
@@ -76,8 +76,8 @@ xhr.onload = function() {
|
||||
|
||||
var view = new ol.View2D();
|
||||
view.fitExtent([
|
||||
[257596.65942095537, 6250898.984085131],
|
||||
[262082.55751844167, 6251854.446938695]], map.getSize());
|
||||
257596.65942095537, 6250898.984085131,
|
||||
262082.55751844167, 6251854.446938695], map.getSize());
|
||||
map.setView(view);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user