PHPackages                             tareq-alqadi/filament-map-picker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tareq-alqadi/filament-map-picker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tareq-alqadi/filament-map-picker
================================

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications.

4.0.5(6mo ago)2102MITPHPPHP ^8.1|^8.2|^8.3

Since Jun 16Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/tareq-alqadi/filament-map-picker)[ Packagist](https://packagist.org/packages/tareq-alqadi/filament-map-picker)[ RSS](/packages/tareq-alqadi-filament-map-picker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (13)Versions (12)Used By (0)

Filament V3 Map Picker
======================

[](#filament-v3-map-picker)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2ee7b1f2f3d5c22ff52048df7046070b03a002c6f8d9064858b77de2240a5ca2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f747377616e2f66696c616d656e742d6d61702d7069636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dotswan/filament-map-picker)[![Total Downloads](https://camo.githubusercontent.com/b4ac725532a3597d5f233eb22c2dc3609d261f6d767c5a4365f385c66e049675/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f747377616e2f66696c616d656e742d6d61702d7069636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dotswan/filament-map-picker)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/dotswan/filament-map-picker/blob/master/LICENSE.md)

A custom field for Filament that allows you to effortlessly select a location on a map and retrieve geographical coordinates.

[![270298161-46b97f72-518b-40c5-963b-8e9d39d77d67](https://private-user-images.githubusercontent.com/20874565/270671118-a5dbda7b-b5c1-4038-9bf9-7a0a4c8ff632.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1Mjc4NDYsIm5iZiI6MTc3NTUyNzU0NiwicGF0aCI6Ii8yMDg3NDU2NS8yNzA2NzExMTgtYTVkYmRhN2ItYjVjMS00MDM4LTliZjktN2EwYTRjOGZmNjMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDAyMDU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZjOTJmYTAzMTI1YzkxM2U1NzMwNDcxNjRmOTNjZjkxYjFhYzkwMmMzNTg4MjdhNmZlOWE1NzI5NmUwNDBjODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.j9ZRkMn-72yv0SqWxUljj1qlOjYyjoLoxNPB04fmO5c)](https://private-user-images.githubusercontent.com/20874565/270671118-a5dbda7b-b5c1-4038-9bf9-7a0a4c8ff632.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU1Mjc4NDYsIm5iZiI6MTc3NTUyNzU0NiwicGF0aCI6Ii8yMDg3NDU2NS8yNzA2NzExMTgtYTVkYmRhN2ItYjVjMS00MDM4LTliZjktN2EwYTRjOGZmNjMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA3VDAyMDU0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZjOTJmYTAzMTI1YzkxM2U1NzMwNDcxNjRmOTNjZjkxYjFhYzkwMmMzNTg4MjdhNmZlOWE1NzI5NmUwNDBjODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.j9ZRkMn-72yv0SqWxUljj1qlOjYyjoLoxNPB04fmO5c)

Introduction
------------

[](#introduction)

Map Picker is a Filament custom field designed to simplify the process of choosing a location on a map and obtaining its geo-coordinates.

- Features include:
    - A Field for Filament-v3 with OpenStreetMap Integration
    - Receive Real-time Coordinates Upon Marker Movement Completion
    - Tailor Controls and Marker Appearance to Your Preferences
- Latest versions of PHP and Filament
- Best practices applied:
    - [`README.md`](https://github.com/dotswan/filament-map-picker/blob/master/README.md) (badges included)
    - [`LICENSE`](https://github.com/dotswan/filament-map-picker/blob/master/LICENSE.md)
    - [`composer.json`](https://github.com/dotswan/filament-map-picker/blob/master/composer.json)
    - [`.gitignore`](https://github.com/dotswan/filament-map-picker/blob/master/.gitignore)
    - [`pint.json`](https://github.com/dotswan/filament-map-picker/blob/master/pint.json)

Supported Maps
--------------

[](#supported-maps)

Map Picker currently supports the following map:

1. Open Street Map (OSM)

Additional map options will be added to the package as needed and tested.

Installation
------------

[](#installation)

You can easily install the package via Composer:

```
composer require dotswan/filament-map-picker
```

Basic Usage
-----------

[](#basic-usage)

Resource file:

```
