This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Advanced Custom Fields: Mapbox geoJSON Field

Description

This plugin adds a Mapbox-driven geoJSON-field to the Advanced Custom Fields plugin. Use it to store and manage geoJSON-data along with your posts and pages.

  • Add multiple markers.
  • Draw polylines, polygons and rectangles.
  • Supports ACF4 and ACF5 (Pro)

Data

The data the field produces is formatted according to the geoJSON spec.

Rendering

This plugin does not handle rendering of the data on your frontend in any way. Most of the popular mapping-libraries supports importing geoJSON-formatted data directly via their respective API’s.

Compatibility

This ACF field type is compatible with:

  • ACF 5
  • ACF 4

GitHub

If you want the latest development version of this plugin it is available over at my github repository. The github repository will always have the latest code but may occasionally be broken and not work at all.

Installation

  1. Copy the acf-mapbox_geojson folder into your wp-content/plugins folder
  2. Make sure you have Advanced Custom Fields installed and activated
  3. Activate the Mapbox geoJSON plugin via the plugins admin page
  4. Sign up for the free plan over at Mapbox to get an access token and a map ID
  5. Create a new field via ACF and select the Mapbox geoJSON type
  6. Enter your access token and map ID that you can find on your projects page at Mapbox

Contributors & Developers

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

Contributors

Changelog

0.0.3

  • Added sidebar for selecting and deleting features

0.0.2

  • ACF 4 support

0.0.1

  • Initial Release.