mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
fix: Meshtastic traceroute button and dark mode maps
- Fix traceroute button in Meshtastic popups using event delegation instead of inline onclick handlers (more reliable with Leaflet) - Update all maps to use dark CARTO tiles for consistency: - ADS-B dashboard radar map - AIS dashboard vessel map - Satellite dashboard ground map - APRS map - Satellite ground track map in main UI - Change settings manager default tile provider to cartodb_dark Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -416,8 +416,9 @@
|
||||
worldCopyJump: true
|
||||
});
|
||||
|
||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© OpenStreetMap contributors'
|
||||
L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OSM</a> © <a href="https://carto.com/">CARTO</a>',
|
||||
maxZoom: 19
|
||||
}).addTo(groundMap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user