wordpress中Google Map V3 for IDN 插件的使用
来源:互联网 发布:当淘宝店主有什么好 编辑:程序博客网 时间:2024/06/09 09:29
一、配置
插件下载地址:http://wordpress.org/extend/plugins/google-map-v3-for-idn/
插件安装成功之后,可在"settings" 下找到“Google Map V3 for IDN ” 的配置。见下图
在配置中需要输入GoogleMap 的API key 你可以通过:http://code.google.com/apis/maps/signup.html 该地址申请并得到这个key.
在配置完成后,我们可以在“appearance”下的"widgets"中找到该组件。见下图:
二、如何使用?
如果你的主题支持Widgets,那么可以直接将Google Map V3 IDN 小工具拖过去。见下图:
如果需要在Post或Pages中使用,你可以使用如下代码:
[GMV directionsto="50, avenue des Champs-Elysées 75020 Paris France"content="50,
avenue des Champs-Elysées 75020 Paris" For directions enter your address below"address="17 square des Cardeurs 75020 Paris France"]
GMV中用到的参数见官方说明:
The shortcode name is GMV and here are the options.
- lat [int] – the latitude of the marker and the center of the map. If you add lat and lng, do not add an address.
- lng [int] – the longitude of the marker and the center of the map.
- address[string] - the address of the marker and the center of the map. If you choose the address, do not add lat and lng.
- zoom [int] – the zoom level (1-19).
- type [int] – the starting map type. possible values are only ROADMAP, SATELLITE, HYBRID, or TERRAIN and must be in uppercase
- directionsto [string] – the destination address for getting directions. obviously you want this to be the address of your latitude longitude coordinates.
- content – what goes inside the infoWindow (speech bubble) that appears when the marker is clicked.
三、显示效果
- wordpress中Google Map V3 for IDN 插件的使用
- google map api v3 中markerwithlabel.js更新的使用
- Google Syntax Highlighter for WordPress的使用
- Google map v3嵌入到JSP中
- 使用google map v3添加经纬度信息
- wordpress中ajax contact 插件的使用
- Google Map Api v3 自定义标记插件RichMarker
- Google Map Api v3 自定义info插件 js-info-bubble
- WordPress插件 Hide My WP 没人知道你使用的是WP系统[更新v3.0]
- google map api v3
- Google Map API V3
- google map api v3
- Google Map API v3
- google map api v3 的marker使用label的方法(markerwithlabel的使用)
- WordPress插件 | 在WordPress中使用FontAwesome
- android 使用Google map api v3 不用申请key!
- 使用google map v3 api 开发地图服务
- Google Map API使用中出现的“google未定义”解决办法
- PHP内核介绍及扩展开发指南—基础知识
- Cstring变量怎么转为十六进制和ASC码,在线等
- s3c2416 SPI芯片是否有BUG?
- asp.net下载文件的常用方法
- activex控件中调用get_Script失败的解决办法
- wordpress中Google Map V3 for IDN 插件的使用
- Eclipse集成开发环境
- 在java中调用C++
- 平衡二叉查找树(AVL)
- Linux函数之snprintf()[一]
- 如何framework层任意设置Android屏幕的旋转方向
- 发现一个不错的表示现在时间的swf
- 关于pcm音频头与a-law音频头的互换代码
- 关于ModifyStyle或ModifyStyleEx无法改变控件属性的解决方法