Merge pull request #1075 from fredj/center-constraint

Add ol.CenterConstraint
This commit is contained in:
Frédéric Junod
2013-10-02 02:54:17 -07:00
9 changed files with 88 additions and 4 deletions

View File

@@ -62,6 +62,7 @@ var map = new ol.Map({
view: new ol.View2D({
projection: projection,
center: [660000, 190000],
extent: extent,
zoom: 2
})
});

View File

@@ -54,6 +54,7 @@ var map = new ol.Map({
view: new ol.View2D({
projection: projection,
center: [660000, 190000],
extent: extent,
zoom: 2
})
});