Apply center constraint in custom projection examples

This commit is contained in:
Tom Payne
2013-07-02 13:56:03 +02:00
committed by Frederic Junod
parent 2e395e4530
commit 8ffe910ebf
2 changed files with 2 additions and 0 deletions

View File

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