leaflet-components/test/components
Buddy cd2c8d0fc5 feat(leaflet-map): fit-to-markers view
Add fit-to-markers / fit-padding / fit-max-zoom attributes to <leaflet-map>.
When fit-to-markers is set the map ignores lat/lng/zoom and fitBounds()es a
box around every locatable layer (getLatLng / getBounds); tile layers and
open popups/tooltips are skipped.

The only reframe trigger is a component registering into the tree -- initial
load and later additions. Panning, zooming, opening a popup and removing a
marker all leave the view untouched. Reframes coalesce onto a microtask so
load produces one fitBounds call, not one per marker.
2026-09-09 08:24:19 -07:00
..
controls-and-groups.test.ts feat: type leaflet-* components and their leaflet: events 2026-08-22 13:30:12 -07:00
fit-to-markers.test.ts feat(leaflet-map): fit-to-markers view 2026-09-09 08:24:19 -07:00
geojson.test.ts feat: type leaflet-* components and their leaflet: events 2026-08-22 13:30:12 -07:00
icons.test.ts feat: type leaflet-* components and their leaflet: events 2026-08-22 13:30:12 -07:00
latlng-bindables.test.ts feat: type leaflet-* components and their leaflet: events 2026-08-22 13:30:12 -07:00
overlays.test.ts feat: type leaflet-* components and their leaflet: events 2026-08-22 13:30:12 -07:00
shapes.test.ts fix: remove parent-reaches-into-child patterns, fix a real load-order bug 2026-08-22 14:35:01 -07:00
tile-layers.test.ts chore: migrate formatter from prettier to oxfmt 2026-09-01 22:58:41 -07:00