Merge pull request #1075 from fredj/center-constraint
Add ol.CenterConstraint
This commit is contained in:
@@ -62,6 +62,7 @@ var map = new ol.Map({
|
||||
view: new ol.View2D({
|
||||
projection: projection,
|
||||
center: [660000, 190000],
|
||||
extent: extent,
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
|
||||
@@ -54,6 +54,7 @@ var map = new ol.Map({
|
||||
view: new ol.View2D({
|
||||
projection: projection,
|
||||
center: [660000, 190000],
|
||||
extent: extent,
|
||||
zoom: 2
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user