Skip to content

Commit

Permalink
Update map.js
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioMurgia authored Oct 10, 2024
1 parent 58e381e commit ed6214d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions taiwan-trade-refactor/js/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
}
Expand Down

0 comments on commit ed6214d

Please # to comment.