Home Plugins acf leaflet map field
Advanced Custom Fields: Leaflet Map Field logo

Advanced Custom Fields: Leaflet Map Field

by Unscuzzy on WordPress.org

Adds a Leaflet map field to the Advanced Custom Fields plugin.

(2)
Backend field settings

Backend field settings

This plugin adds a Leaflet map field to the Advanced Custom Fields plugin.

Create the backend field

You can add a leaflet map field using ACF like the Google Map field.

Diplay the map in front-end

Uses the classic ACF get_field('field_name') function to get field data (lat, lng, address & zoom).

Warning, the get_field() function does not display the map itself, for this, use the leaflet js map documentation directly

Compatibility

This ACF field type is compatible with:
* ACF 5 only (Pro & Free)

NB: If you’re using the ACF 4 Free version, you can upgrade to version 5 step by step on this page

Active installations400+
Weekly downloads
13-35.00%
Version1.0.0
Last updated7/4/2018
WordPress version4.9.6
Tested up to4.5.32
PHP version5.6
Tags
acfleaflet