开发者 | yohman |
---|---|
更新时间 | 2011年8月12日 13:20 |
捐献地址: | 去捐款 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 3.21 |
google-maps-v3-shortcode
directory to the /wp-content/plugins/
directoryYes! See a full description of available shortcodes here: http://gis.yohman.com/gmaps-plugin/
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"]
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"]
Yes! Just add your own width and height parameters (the default is 400x300). Ex: [map w="200" h="100"]
Yes! Add the "infowindow" parameter Ex: [map address="New York" marker="yes" infowindow="Hello New York!"]
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"]
Yes! Just provide the Fusion Layer ID as "fusion" parameter. Ex: [map address="90095" z=9 fusion="825831"]