From 3934e86ad1c25f95ec4e2b994edb1e39d69ec2fa Mon Sep 17 00:00:00 2001 From: EpicKiwi Date: Sun, 15 Feb 2026 13:52:13 +0100 Subject: [PATCH] =?UTF-8?q?S=C3=A9paration=20des=20outils=20de=20la=20cart?= =?UTF-8?q?e=20et=20ajout=20du=20highlight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 7 +++ icons/toilettes.svg | 37 ++++++++++---- index.html | 2 +- js/index.js | 70 ++++++++------------------- js/lib/turf/turf.js | 1 + js/map.js | 114 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 171 insertions(+), 60 deletions(-) create mode 100644 js/lib/turf/turf.js create mode 100644 js/map.js diff --git a/css/style.css b/css/style.css index d7f3a69..55df9be 100644 --- a/css/style.css +++ b/css/style.css @@ -37,6 +37,7 @@ body, html { #main-header #logo { max-height: clamp(2rem, 10vh, 5rem); + filter: drop-shadow(rgba(0,0,0,0.5) 0 0 10px); } /* MAP */ @@ -65,4 +66,10 @@ body, html { color: inherit; text-decoration: underline; } +} + +.map-hilight-area.active { + stroke: #ff4e00; + stroke-width: 5px; + fill: rgba(255, 77, 0, 0.25); } \ No newline at end of file diff --git a/icons/toilettes.svg b/icons/toilettes.svg index 35a23b9..9f110b2 100644 --- a/icons/toilettes.svg +++ b/icons/toilettes.svg @@ -23,11 +23,11 @@ inkscape:pagecheckerboard="1" inkscape:deskcolor="#505050" inkscape:document-units="px" - inkscape:zoom="6.2734375" - inkscape:cx="-13.070984" - inkscape:cy="12.672478" - inkscape:window-width="1920" - inkscape:window-height="1015" + inkscape:zoom="8" + inkscape:cx="-3.25" + inkscape:cy="25.4375" + inkscape:window-width="1900" + inkscape:window-height="995" inkscape:window-x="56" inkscape:window-y="50" inkscape:window-maximized="0" @@ -35,14 +35,33 @@ id="defs1" />
-