dotswan/filament-map-picker
Filament v3 map picker field with OpenStreetMap integration. Let users select a location and get real-time coordinates when the marker moves. Customize controls and marker styling, with optional GeoMan tools for drawing and editing shapes.
This release fixes an issue where inlineLabel() and helperText() were not applied correctly to the Map field.
The field wrapper has been refactored to use Filament’s standard dynamic component pattern, ensuring full compatibility with built-in features and custom wrappers.
Thanks to @aymanalareqi 🙌
This release introduces support for Laravel 13 🎉
Fixed JavaScript variable conflicts with other Filament packages Resolved an issue where the bundled JavaScript output caused conflicts with other Filament packages (e.g., dotswan/filament-laravel-pulse) when used together on the same page.
This release introduces support for Filament v5 🎉
Thanks to @Beiri for the collaboration.
pm:edit event listener to newly created Geoman layers to ensure state updates are properly triggered when editing new layersBig thanks to @artumi-richard for raising this PR and enhancing the user experience!
Thanks to @artumi-mandy for the collaboration 🙌
Support for Filament v4
This release introduces support for Filament v4 🎉
A big thanks to @mohamed-ben-aisha for the collaboration and updates that made this possible 🙌
Big thanks to @JaZo for their contributions to this release! 💖
Fix: update tiles URL to use HTTPS for improved security
z-index properties related to map elements.🔗 Related Issue: #89
Public property [$location] not found on componentMapEntry component without the expected $location property. This patch ensures the component handles this scenario gracefully.This update includes two key improvements for enhanced flexibility and compatibility, especially when using components in complex UI contexts like modals and slide-overs.
z-index: 1 !important in both fields and infolists Blade views.leaflet.css styles to ensure proper rendering without affecting other layouts.Big thanks to @nirine1 for the valuable contributions in this release
This release brings expanded map configuration options, improved circle drawing support, and enhanced GeoJSON handling. Additionally, we’ve updated the bundled Leaflet library for better performance and compatibility. These updates provide greater flexibility, more precise interactions, and a smoother mapping experience.
The README has been updated to include:
snappable, drawRectangle, and drawText methods.README and MapEntry.snappabledrawRectangledrawTextA huge shoutout to @thiagolp90 for their invaluable contributions to this release! 💖
v1.7.1 - Form Restoration & Marker Customization 🚀
This release introduces a powerful new form restoration feature, simplifies state management, and adds extensive marker customization options. These updates ensure a smoother user experience and greater flexibility for developers.
The README has been updated to include:
Feature: Form Restoration
lat, lng, and zoom levels in an invisible <input>.pageshow event to restore map data when the user navigates back to the page.New Features: Marker Customization
Added methods for dynamic marker customization:
markerHtmlmarkerIconUrlmarkerIconSizemarkerIconClassNamemarkerIconAnchorRefactor: Simplified State Management
setMarkerRangesetFormRestorationStateA huge shoutout to @artumi-richard for their invaluable contributions to this release! 💖
This release introduces significant improvements to marker interaction on the map, along with several updates and fixes to enhance overall usability and code clarity.
README has been updated to reflect:
range and clickable features.MapEntry Class
Improved functionality and structure for mapping operations.
Alias Updates
Refined the alias name for Leaflet to improve clarity and compatibility within the codebase.
rangeSelectField Null GuardrangeSelectField logic.Big thanks to [@artumi-richard](https://github.com/artumi-richard) for their invaluable contributions to this release! 💖
This release introduces two exciting new optional features:
These features enhance map interactivity and provide new ways to visualize spatial data.
Big thanks to @artumi-richard for their contribution!
New Features:
Documentation Updates:
This release focuses on enhancing the mapping experience while ensuring clear and accessible documentation.
This release enhances the map's live location functionality by making it more flexible, unrestricted, and configurable. It addresses issue #26 and introduces several improvements to the map's real-time location tracking.
liveLocation option is now fully configurable, allowing real-time location updates at specified intervals, regardless of the map's draggable state..phpunit.cache/test-results to .gitignore.liveLocation options.Big thanks to @enriquemdev for their contribution!
Fixes:
MapEntry for displaying map information in infolists.How can I help you explore Laravel packages today?