Google Maps Autocomplete Field
Integrates Google Maps Places Autocomplete into Payload CMS.
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
- 8
- Last publish
- May 4, 2024
More from aritrakrbasu
View profileSimilar plugins
More in FieldsIcon Picker
Adds an icon picker field plugin for Payload CMS with search and SVG support.
Field Factories
Provides factory functions for creating Payload CMS field configurations.
Phone Number
Plugin for formatting and validating phone numbers in Payload CMS.
UniRate
Integrates the UniRate currency exchange and VAT API into Payload CMS v3 with four server-side endpoints and a prefilled currency select field.
Phone Field
Adds a phone number field to Payload collections with country-code selection and validation, powered by react-phone-number-input.
Base64 image placeholder
Generates a base64-encoded placeholder image for Payload upload collections and stores it in a text field.