inalto / filament-coord-picker

Filament Form coord picker widget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form coord picker field for filament

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.

About

Filament Form coord picker widget

License:MIT License


Languages

Language:CSS 49.9%Language:Blade 19.9%Language:PHP 18.7%Language:JavaScript 11.6%