Linux 软件免费装

Plugin Name

开发者 soundwaves-productions
yohman
更新时间 2015年12月1日 22:33
PHP版本: 2.8 及以上
WordPress版本: 4.3.1

标签

shortcodes shortcode traffic google maps api map maps marker multiple marker mapping latitude longitude v3 google maps v3

下载

详情介绍:

This plugin allows you to add one or more maps (via the Google Maps v3 API) to your page/post using shortcodes. This plugin supports multiple markers per map ! Features:

安装:

  1. Upload the google-maps-v3-shortcode-multiple-markers directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Add shortcodes in your posts, e.g. [MultipleMarkerMap id="MultipleMarkerMapDemo" z="12" lat="48.220162" lon="16.287525" marker="48.193054,16.261282,Bar,http://google-maps-icons.googlecode.com/files/cocktail.png|48.220162,16.287525,point-of-view,http://google-maps-icons.googlecode.com/files/beautiful.png" w="690" h="442"]

屏幕截图:

  • Plugin in action

常见问题:

How do I add a map to my post?

Use shortcode: e.g.: [MultipleMarkerMap id="MultipleMarkerMapDemo" z="12" lat="48.220162" lon="16.287525" marker="48.193054,16.261282,Bar,http://google-maps-icons.googlecode.com/files/cocktail.png|48.220162,16.287525,point-of-view,http://google-maps-icons.googlecode.com/files/beautiful.png" w="690" h="442"]

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. e.g.: [MultipleMarkerMap id="MultipleMarkerMapDemo" z="12" lat="48.220162" lon="16.287525" marker="48.193054,16.261282,Bar,http://google-maps-icons.googlecode.com/files/cocktail.png|48.220162,16.287525,point-of-view,http://google-maps-icons.googlecode.com/files/beautiful.png" w="690" h="442"] [MultipleMarkerMap id="MultipleMarkerMapDemo2" z="12" lat="48.220162" lon="16.287525" marker="48.203054,16.261282,Bar,http://google-maps-icons.googlecode.com/files/cocktail.png|48.230162,16.287525,point-of-view,http://google-maps-icons.googlecode.com/files/beautiful.png" w="690" h="442"]

Can I add multiple markers on the same map?

Yes ! Just add following shortcode to your page or post (markers are separated with "|" ) [MultipleMarkerMap id="MultipleMarkerMapDemo" z="12" lat="48.220162" lon="16.287525" marker="48.193054,16.261282,Bar,http://google-maps-icons.googlecode.com/files/cocktail.png|48.220162,16.287525,point-of-view,http://google-maps-icons.googlecode.com/files/beautiful.png" w="690" h="442"]

Can I change the size of the map?

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

更新日志:

1.0