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

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

doode/filament-map-picker
=========================

Easily pick and retrieve geo-coordinates using a map-based interface with geoman.io extension map draw tools.

v1.6.5(9mo ago)71.4k2MITJavaScriptPHP ^8.1

Since Sep 16Pushed 8mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (14)Versions (24)Used By (0)

Filament V3 Map Picker + Geoman Drawing Plugin
==============================================

[](#filament-v3-map-picker--geoman-drawing-plugin)

[![Latest Version on Packagist](https://camo.githubusercontent.com/498627d90e261388084ceae76618874cd9194a5b67d8d457972e095f86408e2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6f64652f66696c616d656e742d6d61702d7069636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vitormicillo/filament-map-picker)[![Total Downloads](https://camo.githubusercontent.com/891dc76312b6c70b72137a2e52a1d11f85c1efc46c7f3d4a8b0cb5b79f2d547a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f6f64652f66696c616d656e742d6d61702d7069636b65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vitormicillo/filament-map-picker)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/vitormicillo/filament-map-picker/blob/master/LICENSE.md)

[![img_3.png](img_3.png)](img_3.png)

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

[](#introduction)

Map Picker is a custom map toolbox for Filament that streamlines location selection and retrieves geo-coordinates effortlessly, seamlessly integrating the powerful Geoman plugin for enhanced mapping functionality.

- Features include:

    - A Field for Filament-v3 with Leaflet Map 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/vitormicillo/filament-map-picker/blob/master/README.md) (badges included)
    - [`LICENSE`](https://github.com/vitormicillo/filament-map-picker/blob/master/LICENSE.md)
    - [`composer.json`](https://github.com/vitormicillo/filament-map-picker/blob/master/composer.json)
    - [`.gitignore`](https://github.com/vitormicillo/filament-map-picker/blob/master/.gitignore)
    - [`pint.json`](https://github.com/vitormicillo/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
- Upload Geojson files

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

[](#supported-maps)

Map Picker currently supports the following map:

1. Open Street Map (OSM)
2. Google Maps

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

[](#installation)

You can easily install the package via Composer:

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

`Basic` Usage
-------------

[](#basic-usage)

FilamentResource file:

```
