
內容簡介
此外掛將一個Mapbox地理資訊JSON欄位新增至Advanced Custom Fields外掛。使用它可以儲存和管理與您的文章和頁面相關的地理資訊JSON數據。
添加多個標記。
繪製折線、多邊形和矩形。
支援ACF4和ACF5(Pro)
數據
此欄位所產生的數據格式符合geoJSON規範。
渲染
此外掛不以任何方式處理數據在您的前端顯示方面的渲染。大多數流行的地圖庫都支援透過它們各自的API直接導入geoJSON格式的數據。
相容性
此ACF欄位類型相容於:
ACF 5
ACF 4
GitHub
如果您需要此外掛的最新開發版本,它可在我的GitHub存儲庫中取得。 GitHub存儲庫將始終擁有最新的程式碼,但偶爾可能會出現錯誤且無法運作。
外掛標籤
開發者團隊
② 後台搜尋「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.
