You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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. |
2 weeks ago | |
|---|---|---|
| .. | ||
| controls-and-groups.test.ts | 4 weeks ago | |
| fit-to-markers.test.ts | 2 weeks ago | |
| geojson.test.ts | 4 weeks ago | |
| icons.test.ts | 4 weeks ago | |
| latlng-bindables.test.ts | 4 weeks ago | |
| overlays.test.ts | 4 weeks ago | |
| shapes.test.ts | 4 weeks ago | |
| tile-layers.test.ts | 3 weeks ago | |