inalto/filament-coord-picker

Form coord picker field for filament

v1.0.6 2024-02-27 17:55 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

Installation

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"

Usage

$filamentCoordPicker = new inalto\FilamentCoordPicker();

Testing

composer test

🙏 Big Thanks to 🙏

🤑 Support Us 🤑

These codes make your life easier and you avoid wasting time?
Give us some RedBull!

USDT(BEP20)
0x367B9207ACBC30022F9A7262320E36661D7Ffeb5

✉️ Contact Us ✉️

Do you have any suggestions?
Do you need to customise this plugin?

Mail: webmaster@inalto.com
Telegram: @inaltoDev

Credits

License

The MIT License (MIT). Please see License File for more information.