[wordpress插件] Ambient Logic for WordPressWordPress的环境逻辑

wordpress 插件 文章 2020-02-17 13:50 544 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Settings

设置

    • Map Element ID: ID attribute of the div you’d like to embed the map into.
    • 地图元素ID :您要将地图嵌入到其中的div的ID属性。

    • Text On: This is a Boolean argument that determines if the legend text will be included to the left of the color bar.

    • 文本打开:这是一个布尔型参数,用于确定是否将图例文本包含在颜色栏的左侧。

      Default is “true”.

      默认值为“ true”。

      E.g.

      例如。

      “text = true”.

    • “文字= true”。

    • Show Arrow: This is an argument that determines if you show an arrow on the right side of the legend identifying where your Ambient Noise Score lies.
    • 显示箭头:这是一个参数,用于确定是否在图例的右侧显示箭头以标识环境噪声分数所在的位置。

    • Show Score: This is an argument that determines if numerical Ambient Noise Score will be shown on the marker on the map.
    • 显示分数:这是一个参数,用于确定是否在地图上的标记上显示数字环境噪声分数。

    • Show Scale Line: This is an argument that determines if you show the scale line on the map.
    • 显示比例线:这是一个参数,用于确定是否在地图上显示比例线。

    • Black & White Map: This is an argument that determines if a simplified black and white map is used in place of the Open Street Map as a background layer.

    • 黑白地图::这是一个参数,用于确定是否使用简化的黑白地图代替“开放街道地图”作为背景图层。

      This type of map is sometimes better in areas where the Open Street Map layer has too many elements on it and becomes confusing.

    • 这种类型的地图有时在“开放式街道地图”图层上包含太多元素并且变得令人困惑的区域会更好。

    • Horizontal: This option places the score, arrow, and text Horizontally below the map.

    • 水平:此选项将比分,箭头和文本水平放置在地图下方。

      This is good for small screens.

    • 这对小屏幕很有用。

    • Zoom: This is a number that allows you to set the zoom level of the map.

    • 缩放:此数字可让您设置地图的缩放级别。

      Valid values are 10 (zoomed out to the county level) to 16 (zoomed into the address level).

      有效值是10(放大到县级)到16(放大到地址级)。

      E.g.

      例如。

      “zoom = 12”

    • “ zoom = 12”

    • Alpha: This is a number between 0 and 1 that sets how transparent the map will be.

    • Alpha :这是介于0和1之间的数字,用于设置地图的透明度。

      E.g.

      例如。

      “apha = 0.5”

    • “ apha = 0.5”

    Shortcode

    简码

    Place the shortcode on a page where you’d like the Ambient Logic map to appear.

    将简码放置在希望显示环境逻辑图的页面上。

    For example:

    例如:

    [ambient_logic lat='36.2088' lon='-81.6628' bwmap="true" zoom="12"]

    [ambient_logic lat = '36 .2088'lon ='-81.6628'bwmap =“ true” zoom =“ 12”]

    Action Hook

    动作挂钩

    Ambient Logic maps can also be integrated into themes, plugins, etc using the ambient_logic_map action hook.

    环境逻辑映射也可以使用 ambient_logic_map 操作钩子集成到主题,插件等中。

    In the functions.php, or plugin file, add:

    functions.php 或插件文件中,添加:

    Ambient Logic maps can also be integrated into themes, plugins, etc using the ambient_logic_map action hook.

    Ambient Logic映射也可以使用ambient_logic_map操作钩子集成到主题,插件等中。

    In the functions.php, plugin file, or template add:

    在functions.php,插件文件或模板中添加:

    $options = [   

    $ options = [   

    'address' => '1 Hacker Way Menlo Park, California 9402'  

    '地址'=>'加利福尼亚州门洛帕克1 Hacker Way,9402'  

    ];  

    ];  

    do_action( 'ambient_logic_map', $options );

    do_action('ambient_logic_map',$ options);

    ?>

    ?>

    For more information on do_action see the WordPress Documentation.

    有关do_action的更多信息,请参见 WordPress文档

安装步骤

Upload the zip file to your WordPress site in the Plugins Admin page and

在插件管理页面中将 zip文件上传到您的WordPress网站,然后

install the plugin.

安装插件。

Go to the Ambient Logic Settings page and enter your key.<

转到环境逻辑设置页,然后输入密钥。

/p>

/ p>

下载地址
https://downloads.wordpress.org/plugin/ambient-logic-noise-score.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] DC &#8211; Easy WordPress Paypal Payment/ Donations PluginDC –简易WordPress Paypal付款/捐赠插件
[wordpress插件] Anime Dropdown Widget动漫下拉小部件
[wordpress插件] AMO Team ShowcaseAMO团队展示
[wordpress插件] AA Live Your SiteAA现场直播
[wordpress插件] CHL-Change HTML LangCHL-更改HTML语言
随便看看
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793