From 0197a19973940d40a373b8aa68b2791391149cef Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Thu, 25 Dec 2025 02:37:21 +0100
Subject: Implement selecting stop layers to display

---
 src/frontend/app/routes/settings.tsx | 44 ++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

(limited to 'src/frontend/app/routes/settings.tsx')

diff --git a/src/frontend/app/routes/settings.tsx b/src/frontend/app/routes/settings.tsx
index f51b2e9..e7fdffa 100644
--- a/src/frontend/app/routes/settings.tsx
+++ b/src/frontend/app/routes/settings.tsx
@@ -16,6 +16,12 @@ export default function Settings() {
     setShowTraffic,
     showCameras,
     setShowCameras,
+    showBusStops,
+    setShowBusStops,
+    showCoachStops,
+    setShowCoachStops,
+    showTrainStops,
+    setShowTrainStops,
   } = useApp();
 
   const THEMES = [
@@ -120,6 +126,44 @@ export default function Settings() {
               className="w-5 h-5 rounded border-border text-primary focus:ring-primary/50"
             />
           </label>
+
+          <hr className="border-border" />
+          <label className="flex items-center justify-between p-4 rounded-lg border border-border bg-surface cursor-pointer hover:bg-surface/50 transition-colors">
+            <span className="text-text font-medium">
+              {t("about.show_stops_bus", "Mostrar paradas de autobús")}
+            </span>
+            <input
+              type="checkbox"
+              checked={showBusStops}
+              onChange={(e) => setShowBusStops(e.target.checked)}
+              className="w-5 h-5 rounded border-border text-primary focus:ring-primary/50"
+            />
+          </label>
+          <label className="flex items-center justify-between p-4 rounded-lg border border-border bg-surface cursor-pointer hover:bg-surface/50 transition-colors">
+            <span className="text-text font-medium">
+              {t(
+                "about.show_stops_coach",
+                "Mostrar paradas de autobús interurbano"
+              )}
+            </span>
+            <input
+              type="checkbox"
+              checked={showCoachStops}
+              onChange={(e) => setShowCoachStops(e.target.checked)}
+              className="w-5 h-5 rounded border-border text-primary focus:ring-primary/50"
+            />
+          </label>
+          <label className="flex items-center justify-between p-4 rounded-lg border border-border bg-surface cursor-pointer hover:bg-surface/50 transition-colors">
+            <span className="text-text font-medium">
+              {t("about.show_stops_train", "Mostrar paradas de tren")}
+            </span>
+            <input
+              type="checkbox"
+              checked={showTrainStops}
+              onChange={(e) => setShowTrainStops(e.target.checked)}
+              className="w-5 h-5 rounded border-border text-primary focus:ring-primary/50"
+            />
+          </label>
         </div>
       </section>
 
-- 
cgit v1.3

