Linux 软件免费装

Google Maps v3 Shortcode

开发者 yohman
更新时间 2011年8月12日 13:20
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 3.21

标签

google shortcodes shortcode address traffic google maps api map maps marker mapping kml geocoding markers geocode latitude longitude bike v3 infowindow google maps v3 fusion google maps api network links fusion tables fusion layers infowindows

下载

1.0 1.02 1.1 1.2 1.2.1

详情介绍:

This plugin allows you to add a google map into your post/page using shortcodes. Features: See a full description here: http://gis.yohman.com/gmaps-plugin/

安装:

This section describes how to install the plugin and get it working. e.g.
  1. Upload google-maps-v3-shortcode directory to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. Add shortcodes in your posts (ex: [map address="New York, USA"])

升级注意事项:

1.2.1
  • fixed bug that was not allowing Google My Map KML to display
  • added option to disable scroll wheel zoom
  • added option to display scale bar
1.0
  • First release

常见问题:

Is there documentation for this plugin?

Yes! See a full description of available shortcodes here: http://gis.yohman.com/gmaps-plugin/

How do I add a map to my post

Using shortcodes in the edit box for your post. The address parameter for the address, and the "z" parameter for zoom level (ex: 0=world, 20=really zoomed in) Ex: [map address="New York, USA" z="15"]

Can I add multiple maps to the same post?

Yes! But make sure you use the "id" parameter to create unique id's for each map. Ex: [map id="map1" address="New York, USA"] [map id="map2" address="Los Angeles, USA"]

Can I change the size of the map?

Yes! Just add your own width and height parameters (the default is 400x300). Ex: [map w="200" h="100"]

Can you add info bubbles?

Yes! Add the "infowindow" parameter Ex: [map address="New York" marker="yes" infowindow="Hello New York!"]

Can you add KML's?

Yes! Just provide the url link to the KML file. The map will auto center and zoom to the extent of your KML. Ex: [map kml="http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml"]

Can you add Fusion Table Layers?

Yes! Just provide the Fusion Layer ID as "fusion" parameter. Ex: [map address="90095" z=9 fusion="825831"]

更新日志:

1.2.1 1.2 1.1 1.0