Upgrade maps to MapLibre GL JS; compact header; move search to settings
- Replace Leaflet with MapLibre GL JS v4.7.1 across all map instances - CARTO dark/light and Esri satellite raster basemaps (no API key) - All overlays (hurricane, wildfire, SPC, wind arrows) ported to GeoJSON sources/layers - AQI, alert, temp, sun/moon markers via maplibregl.Marker with custom HTML - Radar animation pre-loads all frames on load for smoother playback - Compact loc-header: tighter padding and font sizes, all info preserved - Search bar moved from header to Settings tab under Location section - Service worker bumped to weather-v7 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
1863f6784b
commit
a25864d9ed
6 files changed
+1732
-343
No files matched your search
@@ -5,8 +5,9 @@
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"display_override": ["window-controls-overlay", "standalone"],
|
||||
"background_color": "#191510",
|
||||
"theme_color": "#1a1a1a",
|
||||
"theme_color": "#191510",
|
||||
"orientation": "portrait-primary",
|
||||
"categories": ["weather", "utilities"],
|
||||
"icons": [
|
||||
@@ -28,5 +29,33 @@
|
||||
"type": "image/svg+xml",
|
||||
"purpose": "any"
|
||||
}
|
||||
],
|
||||
"share_target": {
|
||||
"action": "/?share",
|
||||
"method": "GET",
|
||||
"params": { "title": "title", "text": "text", "url": "url" }
|
||||
},
|
||||
"shortcuts": [
|
||||
{
|
||||
"name": "Current Conditions",
|
||||
"short_name": "Now",
|
||||
"description": "View current weather and forecast",
|
||||
"url": "/?tab=conditions",
|
||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
||||
},
|
||||
{
|
||||
"name": "Radar Map",
|
||||
"short_name": "Map",
|
||||
"description": "Live radar and weather map",
|
||||
"url": "/?tab=unified-map",
|
||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
||||
},
|
||||
{
|
||||
"name": "Active Alerts",
|
||||
"short_name": "Alerts",
|
||||
"description": "Weather warnings and alerts",
|
||||
"url": "/?tab=alerts",
|
||||
"icons": [{ "src": "/icons/icon-192.png", "sizes": "192x192" }]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user