PHPackages                             sadiq/filament-gmap-location-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. sadiq/filament-gmap-location-picker

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

sadiq/filament-gmap-location-picker
===================================

A Filament field to enter and update latitude longitude based on map selection

1.1(5y ago)7183MITPHPPHP ^7.4|^8.0

Since Mar 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/s-sadiq/filament-gmap-location-picker)[ Packagist](https://packagist.org/packages/sadiq/filament-gmap-location-picker)[ Docs](https://github.com/s-sadiq/filament-gmap-location-picker)[ RSS](/packages/sadiq-filament-gmap-location-picker/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Filament Google map location picker
===================================

[](#filament-google-map-location-picker)

A Filament field to enter and update latitude longitude based on map selection

Installation
============

[](#installation)

You can install the package via composer:

```
composer require sadiq/filament-gmap-location-picker
```

Configuration
=============

[](#configuration)

You have to set google maps javascript api key in your .env to use the package

```
GMAP_LOCATION_PICKER_KEY={YOUR_GOOGLE_MAP_KEY}
```

Basic usage
===========

[](#basic-usage)

Use the field in your filament resources. If you need to bind the field to model property use resource field **Sadiq\\GMapLocationPicker\\Resources\\Fields\\LocationPicker** Or you can use **Sadiq\\GMapLocationPicker\\Fields\\LocationPicker** and bind it to livewire property in your resource edit/create pages

```
