From c265e4aa9412134a51a32e917a74b070c420a7f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Mon, 2 Jun 2025 09:42:26 +0200 Subject: [PATCH] Refactor everything to use GisState (WIP) --- webgis/index.html | 53 ++++++--- webgis/js/components/Finding.js | 5 +- webgis/js/components/NotConserved.js | 8 +- webgis/js/components/Prehistoric.js | 6 +- webgis/js/controllers/layer_controller.js | 16 +-- webgis/js/controllers/marker_controller.js | 19 ++-- webgis/js/gis.js | 118 ++++++++++++++------- webgis/js/index.js | 2 - webgis/js/state.js | 59 +++++++++++ 9 files changed, 207 insertions(+), 79 deletions(-) create mode 100644 webgis/js/state.js diff --git a/webgis/index.html b/webgis/index.html index b1bd629..8a43e15 100644 --- a/webgis/index.html +++ b/webgis/index.html @@ -97,37 +97,51 @@