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 |
||
|---|---|---|
| .. | ||
| components | ||
| core | ||
| index.ts | ||