[wordpress插件] Google Map谷歌地图

wordpress 插件 文章 2020-02-18 17:30 851 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Simple, light-weight and non-bloated Google Map Plugin for WordPress.

用于WordPress的简单,轻巧且不-肿的Google Map插件。

Written in pure javascript, no jQuery at all, responsive, configurable, no ads and 100% free of cost.

用纯JavaScript编写,完全没有jQuery,具有响应性,可配置,没有广告,而且100%免费。

Highlights

要点

    • Add Google Map API key
    • 添加Google Map API密钥

    • Adjust map canvas height and width
    • 调整地图画布的高度和宽度

    • Responsive map, auto center map upon resize
    • 自适应地图,调整大小后自动居中地图

    • Configure map canvas border color
    • 配置地图画布边框颜色

    • Disable/Enable map controls
    • 禁用/启用地图控件

    • Find your location by typing address (Auto complete)
    • 通过键入地址来查找您的位置(自动完成)

    • Change map’s language eg: Hindi
    • 更改地图的语言,例如:印地语

    • Place animated and colorful marker on map
    • 在地图上放置生动多彩的标记

    • Place info window on marker with custom text/markup.
    • 在带有自定义文本/标记的标记上放置信息窗口。

    • Disable dragging on mobile devices / touch enabled devices
    • 在移动设备/启用触摸的设备上禁用拖动

    • Disable mouse wheel zoom
    • 禁用鼠标滚轮缩放

    • Map Style – eg: Grayscale
    • 地图样式-例如:灰度

    • Custom marker icon/image file
    • 自定义标记图标/图像文件

    • Cooperative Gesture Handling (Two fingers zoom on mobile devices)
    • 合作手势处理(两个手指在移动设备上放大)

    php v7.x and Bedrock compatibility

    php v7.x和Bedrock的兼容性

安装步骤

    1. Search for ‘ank google map’ in WordPress Plugin Directory and Download the .zip file & extract it.
    2. 在WordPress插件目录中搜索“ ank google map”,然后下载.zip文件并将其解压缩。

    3. Upload the folder ank-google-map to the /wp-content/plugins/ directory
    4. 将文件夹 ank-google-map 上载到 / wp-content / plugins / 目录

    5. Activate the plugin through the ‘Plugins List’ page in WordPress Admin Area.
    6. 通过WordPress管理区域中的“插件列表”页面激活插件。

    7. Configure this plugin via Settings–>Google Map
    8. 通过设置–> Google Map 配置此插件

    9. Paste the [ank_google_map] short-code in your pages/posts/widgets.
    10. 在页面/帖子/小工具中粘贴 [ank_google_map] 短代码。

下载地址
https://downloads.wordpress.org/plugin/ank-google-map.2.6.2.zip
-EOF-

AI助手支持GPT4.0