From d79760e9dddc9fa829f0adcae76e28f5ba2ad035 Mon Sep 17 00:00:00 2001 From: Hannes Date: Fri, 2 Jun 2017 14:10:37 +0200 Subject: [PATCH] Center map on proper earth, not one to the left The previous x coordinate was one earth to the left which led to confusing results with everything. This change makes sure the map is centered in a proper location (pretty much the same as before) WITHIN proper bounds. --- examples/rotation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/rotation.js b/examples/rotation.js index 84e6145825..59726646af 100644 --- a/examples/rotation.js +++ b/examples/rotation.js @@ -18,7 +18,7 @@ var map = new ol.Map({ }) }), view: new ol.View({ - center: [-25860000, 4130000], + center: [[14200000, 4130000], rotation: Math.PI / 6, zoom: 10 })