The Coordinate Picker Field is an interactive and user-friendly component for FilamentPHP forms, allowing users to precisely select geographical coordinates. This field integrates a dynamic map interface, where users can pinpoint a location by either entering an address or manually navigating and clicking on the map. Upon selection, the field automatically captures and fills in the latitude and longitude coordinates.
You can install the package via composer:
composer require inalto/filament-coord-picker
You can publish and run the migrations with:
php artisan vendor:publish --tag="filament-coord-picker-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-coord-picker-config"
This is the contents of the published config file:
return [
];
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-coord-picker-views"
$filamentCoordPicker = new inalto\FilamentCoordPicker();
composer test
- Leaflet | http://leafletjs.com
These codes make your life easier and you avoid wasting time?
Give us some RedBull!
USDT(BEP20)
0x367B9207ACBC30022F9A7262320E36661D7Ffeb5
Do you have any suggestions?
Do you need to customise this plugin?
Mail: webmaster@inalto.com
Telegram: @inaltoDev
The MIT License (MIT). Please see License File for more information.