leaflet-components/src
Buddy c283632262 feat: add leafletObject escape hatch + move event wiring
Every component now exposes a uniform get leafletObject() returning
the underlying Leaflet instance (undefined before connected).

Event wiring:
- Marker: listen for 'dragend move' via onChange, syncing lat/lng
  back to attributes. Converted from arrow property to regular
  method using Leaflet's 3rd context arg pattern.
- Circle, CircleMarker: listen for 'move' via onMove with syncing
  guard (same pattern).
- Popup, Tooltip: listen for 'move' via onChange with syncing
  guard and null-check on getLatLng().

Also:
- Update README with escape hatch section
- Change map getter from get map() to get leafletObject() for
  consistency
- index.html: add importmap for leaflet
- All component exports changed from default to named
- index.ts re-exports updated accordingly
2026-06-09 22:46:14 -07:00
..
components feat: add leafletObject escape hatch + move event wiring 2026-06-09 22:46:14 -07:00
core style: replace Number/String/parseInt/parseFloat with shorter equivalents 2026-06-09 21:42:23 -07:00
index.ts feat: add leafletObject escape hatch + move event wiring 2026-06-09 22:46:14 -07:00