Skip to content

Commit 9632cc3

Browse files
author
Olesia Solonko
committed
update Global Tsunami Hazard map service: remove rate fileds, enlarge plots, enlarge info window
1 parent 86a54f4 commit 9632cc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,4 @@ hazard-tiles: ## Generate vector tiles for Global Hazard Points via Docker
121121
--force --maximum-zoom=15 \
122122
--extend-zooms-if-still-dropping \
123123
--no-tile-compression \
124-
/data/hazard/global-hazard-points.geojson
124+
/data/hazard/global-hazard-points.geojson

frontend/src/js/hazard-layer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function addGlobalHazardTiles(map, apiBaseUrl = "http://localhost:5000") {
2828
id: "hazard-pt", // Using the ID you mentioned
2929
type: "circle",
3030
source: "global-hazard-source",
31-
"source-layer": "globalhazardpoints", // Make sure this matches the layer name in your vector tiles
31+
"source-layer": "globalhazardpoints", // FIXED: Use the correct layer name from your vector tiles
3232
layout: {
3333
visibility: "visible", // Explicitly set to visible
3434
},
@@ -392,4 +392,4 @@ function addGlobalHazardTiles(map, apiBaseUrl = "http://localhost:5000") {
392392
console.error("Failed to add Global Hazard Points layer:", error);
393393
return false;
394394
}
395-
}
395+
}

0 commit comments

Comments
 (0)