Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Better initial map center

Russ Garrettf1e6cc2a674a
diff --git a/src/index.js b/src/index.js
index 660d101..7c65f20 100644
--- a/src/index.js
+++ b/src/index.js
@@ -56,7 +56,8 @@ function init() {
style: map_style,
hash: true,
minZoom: 2,
- maxZoom: 17.9
+ maxZoom: 17.9,
+ center: [12, 26]
});
map.addControl(new mapboxgl.NavigationControl(), 'top-right');
map.addControl(new EditButton(), 'bottom-right');