Replace Leaflet with MapLibre GL for geo map collection by Copilot · Pull Request #8693 · TriliumNext/Trilium
- Remove leaflet, leaflet-gpx, @maplibre/maplibre-gl-leaflet and related @types packages - Add maplibre-gl 5.18.0 as dependency - Rewrite map.tsx to use MapLibre GL directly (native vector+raster support) - Rewrite marker.tsx with MapLibre GL HTML markers - Rewrite GPX track rendering using DOMParser + GeoJSON layers - Update api.ts, context_menu.ts, index.tsx, map_layer.ts to use GeoMouseEvent - Update link_context_menu.ts to remove LeafletMouseEvent dependency - Update types-lib.d.ts to remove Leaflet module augmentation - Update CSS for MapLibre GL marker classes - Replace Leaflet marker PNG with inline SVG marker pin Co-authored-by: eliandoran <21236836+eliandoran@users.noreply.github.com>