WordPress plugin thats adds a leaflet field to Advanced Custom Fields
JavaScript PHP CSS
Switch branches/tags
Nothing to show
Clone or download
jensjns Resolved an issue where polylines, polygons and rectangles wouldn't b…
…e rendered to the map when no markers were present on the map.
Latest commit b2cbcc6 Nov 4, 2014

README.md

ACF Leaflet field

The latest stable release can be found here. Description

Addon for Advanced Custom Fields that adds a Leaflet map-field to the available field types.

Installation

  1. Upload acf-leaflet-field to the /wp-content/plugins/ directory.
  2. Make sure you have Advanced Custom Fields installed and activated
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Add a Leaflet field to a ACF field group and save
  5. The field is now ready for use

Instructions

Use the_leaflet_field( 'my_leaflet_field' ); where you want to render the map.