What's New
🗺️ Leaflet.js Provider — Free Alternative to Google Maps
You can now use Leaflet.js + OpenStreetMap as a completely free map provider — no API key required.
Enable globally via .env:
PINPOINT_PROVIDER=leaflet
Or per field:
Pinpoint::make('location')->provider('leaflet')
PinpointEntry::make('location')->provider('leaflet')
Features (Leaflet provider)
- 🔍 Location search via Nominatim (OpenStreetMap)
- 🏠 Full reverse geocoding — address, province, city, district, village, postal code, street, street number
- ✋ Draggable marker & resizable radius circle
- 📍 Multi-marker support for PinpointEntry with colored SVG pins & popups
- 🌓 Dark mode tile URL support (LEAFLET_TILE_URL_DARK)
- ⚙️ Configurable tile server, attribution, and Nominatim URL
✅ Fully Backward Compatible
Existing users default to provider = google — no changes required.
---
Full Changelog: https://github.com/fahiem152/filament-pinpoint/blob/main/CHANGELOG.md
---