From ec7478b2872323c93247e6dc2df530ce92d5f3fe Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 26 May 2026 17:41:39 -0400 Subject: [PATCH] Add machine ID search bar to EXIF Photos Map with highlight zoom - Search input + Find/Clear buttons above the map - Partial match search against all marker machine_ids - Matched markers get amber pulsing highlight icon (22px) - Auto-zoom to fit matched markers - Clear button restores original view - Store _exifGpsPhotos globally for search - Store machineId on each marker at creation time - Store default icon reference for proper restore on clear - CSS: animated amber pulse ring around highlighted markers --- static/index.html | 304 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 302 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index d07ccf8..b5d472c 100644 --- a/static/index.html +++ b/static/index.html @@ -365,6 +365,33 @@ if ('serviceWorker' in navigator) { pointer-events: none; transition: opacity 0.5s; } + /* EXIF Photos Map markers */ + .exif-marker-icon { + background: none !important; + border: none !important; + } + .exif-marker-dot { + width: 12px; height: 12px; + background: var(--accent); + border: 2px solid #fff; + border-radius: 50%; + box-shadow: 0 1px 4px rgba(0,0,0,0.4); + } + .exif-marker-highlight { + width: 20px !important; height: 20px !important; + background: #f59e0b !important; + border: 3px solid #fff !important; + box-shadow: 0 0 0 3px rgba(245,158,11,0.4), 0 2px 8px rgba(0,0,0,0.5) !important; + animation: exifSearchPulse 1.5s ease-in-out infinite; + } + @keyframes exifSearchPulse { + 0%, 100% { box-shadow: 0 0 0 3px rgba(245,158,11,0.4), 0 2px 8px rgba(0,0,0,0.5); } + 50% { box-shadow: 0 0 0 6px rgba(245,158,11,0.25), 0 2px 12px rgba(0,0,0,0.6); } + } + .leaflet-popup-content-wrapper { + border-radius: 10px !important; + } + @@ -497,6 +524,36 @@ if ('serviceWorker' in navigator) {
+ +
+
+ 📍 EXIF Photos Map + 0 + +
+
+ + Loading... +
+ +
+
+
+ 📸 0 total + 📍 0 with GPS + ⚠️ 0 no GPS +
+
+ +
+
+