BACK TO DIRECTORY

Advanced Custom Fields: Leaflet Map Field

by Unscuzzy

3.5
(2 ratings)

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

Screenshots

Backend field settings

Backend field settings

Backend field example

Backend field example

Front-end output

Front-end output

Plugin Details

Active Installs
300
Total Downloads
5,889
Version
1.0.0
Requires WP
4.9.6
Requires PHP
5.6
Tested Up To
4.5.33
Added
2018-07-04
Last Updated
2018-07-04 8:43pm GMT

Ratings

5
1
4
0
3
0
2
1
1
0