From 102cf4297c73b874d39c0fef6349ef7e54af44e0 Mon Sep 17 00:00:00 2001 From: Maor Date: Tue, 7 Apr 2026 13:41:00 +0300 Subject: [PATCH 01/10] Migrate map from Leaflet to MapLibre GL JS with PMTiles Replace Leaflet + OSM raster tiles with MapLibre GL JS using self-hosted PMTiles (Middle East extract on R2) and a warm Protomaps basemap flavor. Alert polygons are now a GeoJSON source with fill/stroke/hit layers. Popups replaced by a slide-in location panel (bottom-sheet on mobile, sidebar on desktop). Prediction mode migrated off Leaflet overlays to a MapLibre GeoJSON source. ensureOrefPoints consolidated into AppState. --- web/index.html | 757 +++++++++++++++++++++++++++-------------- web/prediction-mode.js | 200 ++++++----- 2 files changed, 614 insertions(+), 343 deletions(-) diff --git a/web/index.html b/web/index.html index 705494b..b9b4247 100644 --- a/web/index.html +++ b/web/index.html @@ -26,18 +26,21 @@ - - + + + +