Advanced Custom Fields: Mapbox geoJSON Field

April 26, 2015

Advanced Custom Fields: Mapbox geoJSON Field Plugin

Addon for Advanced Custom Fields that adds a Mapbox geoJSON field to the available field types.

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

Changelog

0.0.3

  • Added sidebar for selecting and deleting features

0.0.2

  • ACF 4 support

0.0.1

  • Initial Release.

Details

  • Version: 0.0.3
  • Active installations: 80
  • WordPress Version: 4.0
  • Tested up to: 4.2.38

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars