[wordpress插件] Advanced Custom Fields: Mapbox geoJSON Field高级自定义字段:Mapbox geoJSON字段

wordpress 插件 文章 2020-02-07 05:40 663 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

This plugin adds a Mapbox-driven geoJSON-field to the Mapbox 驱动的geoJSON字段添加到

www.advancedcustomfields.com/" rel="nofollow">Advanced Custom Fields plugin.

www.advancedcustomfields.com/“ rel =” nofollow“>高级自定义字段插件。

Use it to store and manage geoJSON-data along with your posts and pages.

用它来存储和管理geoJSON数据以及您的帖子和页面。

    • Add multiple markers.
    • 添加多个标记。

    • Draw polylines, polygons and rectangles.
    • 绘制折线,多边形和矩形。

    • Supports ACF4 and ACF5 (Pro)
    • 支持ACF4和ACF5(Pro)

    Data

    数据

    The data the field produces is formatted according to the geoJSON spec.

    该字段产生的数据根据​​ geoJSON规范设置格式。

    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.

    大多数流行的映射库都支持直接通过各自的API导入geoJSON格式的数据。

    Compatibility

    兼容性

    This ACF field type is compatible with:

    此ACF字段类型兼容:

安装步骤

    1. Copy the acf-mapbox_geojson folder into your wp-content/plugins folder
    2. acf-mapbox_geojson 文件夹复制到您的 wp-content / plugins 文件夹中

    3. Make sure you have Advanced Custom Fields installed and activated
    4. 确保已安装并激活高级自定义字段

    5. Activate the Mapbox geoJSON plugin via the plugins admin page
    6. 通过插件管理页面激活Mapbox geoJSON插件

    7. Sign up for the free plan over at Mapbox to get an access token and a map ID

    8. Mapbox 上注册免费计划,以获得访问令牌和地图ID

      >

      >

    9. Create a new field via ACF and select the Mapbox geoJSON type
    10. 通过ACF创建新字段,然后选择Mapbox geoJSON类型

    11. Enter your access token and map ID that you can find on your projects page at Mapbox
    12. 输入您可以在Mapbox的项目页面上找到的访问令牌和地图ID

下载地址

https://downloads.wordpress.org/plugin/advanced-custom-fields-mapbox-geojson-field.zip

https://downloads.wordpress.org/plugin/advanced-custom-fields-mapbox-geojson-field.zip

-EOF-

AI助手支持GPT4.0