Title: Advanced Custom Fields: Leaflet Map Field
Author: Unscuzzy
Published: <strong>јули 4, 2018</strong>
Last modified: јули 4, 2018

---

Search plugins

![](https://ps.w.org/acf-leaflet-map-field/assets/banner-772x250.jpg?rev=1904210)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/acf-leaflet-map-field/assets/icon-256x256.jpg?rev=1904210)

# Advanced Custom Fields: Leaflet Map Field

 By [Unscuzzy](https://profiles.wordpress.org/unscuzzy/)

[Download](https://downloads.wordpress.org/plugin/acf-leaflet-map-field.zip)

 * [Details](https://mk.wordpress.org/plugins/acf-leaflet-map-field/#description)
 * [Reviews](https://mk.wordpress.org/plugins/acf-leaflet-map-field/#reviews)
 *  [Installation](https://mk.wordpress.org/plugins/acf-leaflet-map-field/#installation)
 * [Development](https://mk.wordpress.org/plugins/acf-leaflet-map-field/#developers)

 [Support](https://wordpress.org/support/plugin/acf-leaflet-map-field/)

## Description

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](https://leafletjs.com/examples/quick-start/) 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](https://www.advancedcustomfields.com/resources/upgrade-guide-version-5/)

## Screenshots

 * [[
 * Backend field settings
 * [[
 * Backend field example
 * [[
 * Front-end output

## Installation

From your WordPress dashboard
 1. Visit Plugins > Add New 2. Search for “Advanced
Custom Fields: Leaflet Field” 3. Activate “Advanced Custom Fields: Leaflet Field”
from your Plugins page 4. Create ACF new leaflet map field from “Custom Fields” 
menu item

## FAQ

  Installation Instructions

From your WordPress dashboard
 1. Visit Plugins > Add New 2. Search for “Advanced
Custom Fields: Leaflet Field” 3. Activate “Advanced Custom Fields: Leaflet Field”
from your Plugins page 4. Create ACF new leaflet map field from “Custom Fields” 
menu item

  How to display the map in front-end ?

 1. Make sure you have created a “Leaflet Map” field
 2. In the template file, use the ACF classic “get_field()” function, (you can add 
    this following code in your template page for debug)
 3.  * `<?php var_dump( get_field('my-field-name') ); ?>`
 4. Go to [leaflet map documentation](https://leafletjs.com/examples/quick-start/) 
    and draw your 1st map!

## Reviews

![](https://secure.gravatar.com/avatar/b382bcf0dcb8789f25830744642416830ada9527ee26aaee04a00333703250e1?
s=60&d=retro&r=g)

### 󠀁[Not very precise search](https://wordpress.org/support/topic/not-very-precise-search/)󠁿

 [Mladen Gradev](https://profiles.wordpress.org/joe8104/) септември 3, 2018 1 reply

The search function of this plugin is not precise at all. I was unable to mark specific
address, only the whole town. If anyone can mark this address let me know how and
I will change my rating. This is in Bulgaria: Айтос, ул. Васил Левски №1 or Aytos,
1 Vasil Levski str.

![](https://secure.gravatar.com/avatar/7dd2c22814194e9de39e7a272e7c898d7b179b349432cf33d16b67dab670e877?
s=60&d=retro&r=g)

### 󠀁[Works perfectly!](https://wordpress.org/support/topic/works-perfectly-1462/)󠁿

 [hugo423403](https://profiles.wordpress.org/hugo423403/) јули 5, 2018

I love this plugin that allow me to easily bypass the use of Google Map for my clients
websites. Thanks a lot!

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/)

## Contributors & Developers

“Advanced Custom Fields: Leaflet Map Field” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Unscuzzy ](https://profiles.wordpress.org/unscuzzy/)

[Translate “Advanced Custom Fields: Leaflet Map Field” into your language.](https://translate.wordpress.org/projects/wp-plugins/acf-leaflet-map-field)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/acf-leaflet-map-field/),
check out the [SVN repository](https://plugins.svn.wordpress.org/acf-leaflet-map-field/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/acf-leaflet-map-field/)
by [RSS](https://plugins.trac.wordpress.org/log/acf-leaflet-map-field/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * Initial Release.

## Meta

 *  Version **1.0.0**
 *  Last updated **8 години ago**
 *  Active installations **400+**
 *  WordPress version ** 4.9.6 or higher **
 *  Tested up to **4.5.33**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/acf-leaflet-map-field/)
 * Tags
 * [acf](https://mk.wordpress.org/plugins/tags/acf/)[leaflet](https://mk.wordpress.org/plugins/tags/leaflet/)
 *  [Advanced View](https://mk.wordpress.org/plugins/acf-leaflet-map-field/advanced/)

## Ratings

 3.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-leaflet-map-field/reviews/)

## Contributors

 *   [ Unscuzzy ](https://profiles.wordpress.org/unscuzzy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/acf-leaflet-map-field/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://unscuzzy.com)