afsakar/filament-leaflet-map-picker
Filament Leaflet Map Picker adds an interactive Leaflet map field to Filament forms, letting users click or drag a marker to select latitude and longitude coordinates. Configurable map options make location picking easy to integrate into Laravel admin panels.
What it actually is: a single-purpose Filament Forms field that embeds a Leaflet.js map to let an operator pick or adjust a latitude/longitude pair, and writes those values into form state. It is a UI convenience component, not a geo platform: no geocoding, no reverse-geocoding, no address search, no routing, no spatial querying, no server-side geo logic.
Architecture fit
Integration feasibility
Technical risk (ranked)
Key questions to answer before committing
Stack fit gate (all must be true)
Migration path
decimal(10,7) latitude and decimal(11,8) longitude columns (or a single JSON column if the app already favors that; a POINT/PostGIS column only if spatial queries are genuinely on the roadmap — do not add PostGIS for a form widget).Compatibility
composer.json and verify the package's constraint resolves cleanly; do not let a Filament upgrade float this dependency implicitly.php artisan serve): confirm assets survive the Vite/publish step and render inside a Livewire modal, where Leaflet sizing bugs most often appear.Sequencing
Maintenance
Support
Scaling
Failure modes to design for
Ramp-up
How can I help you explore Laravel packages today?