這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.