Skip to content

Open Infrastructure Map, a view of infrastructure data in OpenStreetMap

Scrap minZoom entirely

Russ Garrett13ab9334282e
diff --git a/web/src/index.ts b/web/src/index.ts
index 1fb3dc1..25ac7c0 100644
--- a/web/src/index.ts
+++ b/web/src/index.ts
@@ -99,10 +99,8 @@ function init() {
url_hash.init({
container: 'map',
style: map_style,
- // Note: tiles at zoom levels lower than 2 are still required due to how maplibre's globe
- // rendering works.
- minZoom: 2,
maxZoom: 20,
+ zoom: 2,
center: [12, 26],
localIdeographFontFamily: "'Apple LiSung', 'Noto Sans', 'Noto Sans CJK SC', sans-serif"
})