설명
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.
설치
- Copy the
acf-mapbox_geojson
folder into yourwp-content/plugins
folder - Make sure you have Advanced Custom Fields installed and activated
- Activate the Mapbox geoJSON plugin via the plugins admin page
- Sign up for the free plan over at Mapbox to get an access token and a map ID
- Create a new field via ACF and select the Mapbox geoJSON type
- 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.