[wordpress插件] By-Martin Maps马丁地图

wordpress 插件 文章 2020-03-14 23:20 446 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

By-Martin Maps embed a google maps into your blog, allow javascript programming, and Google Maps API

By-Martin Maps将Google地图嵌入到您的博客中,允许进行JavaScript编程,并使用Google Maps API

configuration.

组态。

Full customizable maps, flexible and easy configuration.

完整的可自定义地图,灵活且易于配置。

You may program the way you need to obtain geographic coordinates to put marks or do reverse geocoding,

您可以编程获取地理坐标以标记或进行反向地理编码所需的方式,

read the Google Maps API tutorials for programming examples

阅读Google Maps API教程中的编程示例

A new functionallity has been added, now this plugin can add a static map on any post directly

已添加了新功能,现在此插件可以直接在任何帖子上添加静态地图

on add new post.

在添加新帖子。

integrated with media upload.

与媒体上传集成。

PS: You will need a Google Maps API Key, you should follow the link in the configuration page to request

PS:您将需要一个Google Maps API密钥,应按照配置页面中的链接进行请求

your Google Maps API key.

您的Google Maps API密钥。

Operation

操作

for javascript programming:

用于javascript编程:

there is a predefined function for initialize the code, when you want to put your own init code

当您要放置自己的初始化代码时,有一个用于初始化代码的预定义函数

you have to write the function custom_init() that function will be called by function initialize()

您必须编写函数custom_init(),该函数将由函数initialize()调用

if it is defined.

如果已定义。

on the JavaScript Tab you will find the custom_init() function commented as starting point.

在JavaScript选项卡上,您将找到注释为起点的custom_init()函数。

Known Issues

已知问题

We are aware that this plugin works on firefox, Chrome and Safari, we are experiencing issues on Iexplorer 6.0

我们知道此插件可在Firefox,Chrome和Safari上使用,我们在Iexplorer 6.0上遇到问题

latest version of Iexplorer has not been tested yet.

最新版本的Iexplorer尚未经过测试。

安装步骤

    • Upload the By-Martin Maps plugin to your blog
    • 将By-Martin Maps插件上传到您的博客

    • Activate it
    • 激活它

    • Request Google Maps API Key (Follow link on Setting -> By-Martin Maps)
    • 请求Google Maps API密钥(“设置”->“按马丁地图”上的关注链接)

    • (If you have to request a Google Maps API Key, you must Sign in.)
    • (如果您需要请求Google Maps API密钥,则必须登录。)

    • Configure API
    • 配置API

    • You can start your Javascript code
    • 您可以启动您的Javascript代码

    • Go to the Widget menu and add the map as widget.
    • 转到“小部件”菜单,然后将地图添加为小部件。

    • Voila, your Blog will have access to google maps
    • Voila,您的博客将有权访问Google地图

下载地址
https://downloads.wordpress.org/plugin/by-martin-maps.1.0.2.zip
-EOF-

AI助手支持GPT4.0