From b9d67e449fe0eb84568f131f8e54a889c1711127 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Thu, 6 Feb 2025 12:07:44 +0530 Subject: [PATCH 1/4] reduced max zoom --- src/js/netjsongraph.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/netjsongraph.config.js b/src/js/netjsongraph.config.js index dbde0ce6..48e47bf2 100644 --- a/src/js/netjsongraph.config.js +++ b/src/js/netjsongraph.config.js @@ -238,7 +238,7 @@ const NetJSONGraphDefaultConfig = { "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", options: { minZoom: 3, - maxZoom: 32, + maxZoom: 18, attribution: `© OpenStreetMap contributors, tiles offered by Mapbox`, }, From 3bf4061cb46806b0bbc8eeb7a2df55c45362b257 Mon Sep 17 00:00:00 2001 From: rishabhknowss Date: Sun, 9 Feb 2025 14:45:47 +0530 Subject: [PATCH 2/4] maxZoom config --- examples/load_data_geo_extent/index.html | 4 +++- src/js/netjsongraph.config.js | 5 +++++ src/js/netjsongraph.render.js | 16 +++++++++++++++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/examples/load_data_geo_extent/index.html b/examples/load_data_geo_extent/index.html index c90915e8..00c5642c 100644 --- a/examples/load_data_geo_extent/index.html +++ b/examples/load_data_geo_extent/index.html @@ -72,11 +72,13 @@