From ed6214dc99316fcd0e0eaa264ba2a3589779a2e2 Mon Sep 17 00:00:00 2001 From: FabioMurgia <123178334+FabioMurgia@users.noreply.github.com> Date: Thu, 10 Oct 2024 00:20:59 -0400 Subject: [PATCH] Update map.js --- taiwan-trade-refactor/js/map.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/taiwan-trade-refactor/js/map.js b/taiwan-trade-refactor/js/map.js index e67f8f3..f163252 100644 --- a/taiwan-trade-refactor/js/map.js +++ b/taiwan-trade-refactor/js/map.js @@ -137,27 +137,27 @@ function updateChapterLocations(isMobile) { chapter.location.center = [120.74709, 23.97749]; } if (chapter.id === "chapter1") { - chapter.location.zoom = 3; + chapter.location.zoom = 3.5; chapter.location.center = [120.74709, 23.97749]; } if (chapter.id === "chapter2") { - chapter.location.zoom = 3; + chapter.location.zoom = 3.5; chapter.location.center = [120.74709, 23.97749]; } if (chapter.id === "chapter3") { - chapter.location.zoom = 3; + chapter.location.zoom = 3.5; chapter.location.center = [106.85556, 5.91993]; } if (chapter.id === "chapter4") { - chapter.location.zoom = 4; + chapter.location.zoom = 4.2; chapter.location.center = [120.74709, 23.97749]; } if (chapter.id === "chapter5") { - chapter.location.zoom = 3.5; + chapter.location.zoom = 4.2; chapter.location.center = [120.58214, 24.01651]; } if (chapter.id === "chapter6") { - chapter.location.zoom = 3.5; + chapter.location.zoom = 4.2; chapter.location.center = [120.74709, 23.97749]; } }