lbcdev/livewire-map-component
Componente Livewire para integrar mapas Leaflet.js en Laravel: marcador arrastrable, click para ubicar, entrada manual de coordenadas, modo claro/oscuro, opción solo lectura y eventos Livewire. Soporta coords iniciales, zoom y altura configurables.
marker-dragged).spatie/laravel-mapbox or custom Vue/React components for the frontend.wire:model vs. custom events).<livewire:lbcdev-map /> for initial render.marker-added, marker-updated) to backend logic.Marker model with latitude/longitude fields).Leaflet.markercluster).| Failure Type | Impact | Mitigation |
|---|---|---|
| Leaflet.js CDN Fail | Maps render as blank | Bundle Leaflet locally via Vite/Webpack |
| Livewire Event Loss | Marker updates not persisted | Implement retries/fallback to direct DB updates |
| Coordinate Errors | Invalid lat/long values crash app | Validate inputs server-side |
| High Marker Load | UI freezes or lags | Use clustering or pagination |
| PHP/Laravel Version | Component incompatibility | Containerize or fork for compatibility |
How can I help you explore Laravel packages today?