Linux 软件免费装

Geo Blogroll

开发者 anil074
更新时间 2009年6月17日 04:05
PHP版本: 2.5 及以上
WordPress版本: 2.7

标签

Links Maps

下载

0.13 0.1 0.11 0.12

详情介绍:

This plugin allows you to geotag any of your links and then provides the ability to add a map of your geotagged links to your theme.

安装:

To install the plugin:
  1. Unzip the plugin into the /wp-content/plugins directory on your webserver.
  2. Activate the plugin.
  3. Navigate to the settings page for the Geo Blogroll plugin. As of Wordpress 2.7 this page should be located at http://yourblog.com/wp-admin/options-general.php?page=geo-blogroll/geo_blogroll.php)
  4. Add your Google API key. (You can get one here)
  5. Add a width for your map. This can be in pixels or a percentage.
  6. Add a height to your map. This can be in pixels or a percentage.
  7. Add a center point to the map. This can be any address that Google geocoder can decode.
  8. Add a map zoom level. This can be a number from 1 to 10.
  9. Add a level of noise that you want to add to each of the mapped points. (You should almost always leave this at 0.) The reason this option is here is because when you have a number of blogs that geocode to the same location, the markers that represent these blogs lay directly on top of each other on the map, rendering some of the markers unclickable. Adding some random noise to the location of the markers fixes this overlap problem. This is the least elegant of all solutions but was the quickest to implement. In the future I hope to implement something a bit better than this.

常见问题:

How do you geotag a link from your blogroll?

You should see a “Link Geography” section whenever you try and edit a link.

How do I create a google map of the geotagged blogs?

To show the map within your theme simply add this code to your theme: <?php if (function_exists(geo_blogroll_show_map)) {geo_blogroll_show_map(); } ?>