PHPackages                             nersus15/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. nersus15/filament-map-picker

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

nersus15/filament-map-picker
============================

Easily pick and retrieve geo-coordinates using a map-based interface in your Filament applications. Forks From https://github.com/dotswan/filament-map-picker

1.8.3(7mo ago)05MITPHPPHP ^8.1

Since Sep 19Pushed 7mo agoCompare

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

READMEChangelog (5)Dependencies (13)Versions (7)Used By (0)

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

[](#filament-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.

This Is Modify Version from

[![270298161-46b97f72-518b-40c5-963b-8e9d39d77d67](https://private-user-images.githubusercontent.com/20874565/270671118-a5dbda7b-b5c1-4038-9bf9-7a0a4c8ff632.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0NTI2MjAsIm5iZiI6MTc3NTQ1MjMyMCwicGF0aCI6Ii8yMDg3NDU2NS8yNzA2NzExMTgtYTVkYmRhN2ItYjVjMS00MDM4LTliZjktN2EwYTRjOGZmNjMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA2VDA1MTIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg3MmViOTIzMWU1NDM2M2MxNjQzYTQ5NmMxZDdmMDE1ZDAxYzcxYmZjMWE5YzYzODlkNGU1OTZjMDNlOTU3MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.TDa42AEcZQclrX2brUZzinaVVyhtAJ92QN8GcnhrJgg)](https://private-user-images.githubusercontent.com/20874565/270671118-a5dbda7b-b5c1-4038-9bf9-7a0a4c8ff632.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0NTI2MjAsIm5iZiI6MTc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0dXJlPTBlNTk0YTQ2ZDFhM2ZhOWRmNWVkZDUwZTE3YmZmZjY5ZjI1YTlhODFhNzVjMDg0ZWU5ODM2ODQxODc4NzA4MDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GWRatI3NUYkgy_hbXf_pR70qhK0TbBpITJ4XPVeQ_OQ)](https://private-user-images.githubusercontent.com/20874565/373952773-53d9de27-7e1f-4638-8c71-3b2c6b5d68ef.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzU0NTI2MjAsIm5iZiI6MTc3NTQ1MjMyMCwicGF0aCI6Ii8yMDg3NDU2NS8zNzM5NTI3NzMtNTNkOWRlMjctN2UxZi00NjM4LThjNzEtM2IyYzZiNWQ2OGVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA0MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNDA2VDA1MTIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlNTk0YTQ2ZDFhM2ZhOWRmNWVkZDUwZTE3YmZmZjY5ZjI1YTlhODFhNzVjMDg0ZWU5ODM2ODQxODc4NzA4MDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.GWRatI3NUYkgy_hbXf_pR70qhK0TbBpITJ4XPVeQ_OQ)

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
    - GeoMan Integration for Advanced Map Editing Capabilities
- 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)

GeoMan Integration
------------------

[](#geoman-integration)

This package now includes integration with GeoMan, a powerful tool for creating and editing geometries on maps. GeoMan allows users to draw various shapes, edit existing geometries, and perform advanced map editing tasks.

### GeoMan Features:

[](#geoman-features)

- Draw markers, polygons, polylines, and circles
- Edit existing geometries
- Cut polygons
- Rotate shapes
- Drag mode for easy shape manipulation
- Delete layers

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
```

For **Filament v3**:

```
composer require dotswan/filament-map-picker:"^1.8"
```

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

[](#basic-usage)

Resource file:

```
