Google Maps Autocomplete Field

Integrates Google Maps Places Autocomplete into Payload CMS.

Community 27 21/wk MIT v1.0.3

Installation

pnpm add payload-google-autocomplete-places

About

This plugin adds a Google Maps Places Autocomplete field to Payload CMS, allowing users to easily search and select locations via a customizable autocomplete interface. It requires a Google Maps API key and offers various configuration options including debounce time, component restrictions, and localization settings. Developers can integrate this field within any collection configuration using the `googleMapAutoCompletePlaces` function. Options include specifying requirements for input length, geographic bounding areas for suggestions, and access control for create, read, and update operations. The plugin is currently compatible with Payload versions 2.0 and above, and is under active development with plans to support future versions. Features such as session token management enhance its functionality, making it suitable for applications needing geographical input.

Package info

Package name
payload-google-autocomplete-places
Latest version
1.0.3
Unpacked size
68 kB
License
MIT
Weekly downloads
21
Last publish
May 4, 2024

More from aritrakrbasu

View profile

Similar plugins

More in Fields