该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Advanced Custom Fields: Mapbox geoJSON Field

描述

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.

安装

  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

评价

此插件暂无评价。

贡献者及开发者

「Advanced Custom Fields: Mapbox geoJSON Field」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.0.3

  • Added sidebar for selecting and deleting features

0.0.2

  • ACF 4 support

0.0.1

  • Initial Release.