這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Google Maps GPS Link

描述

v1.1 UPDATE: Okay, I lied about future development. Support has been added for any number of GPS links. Be aware, the plugin will simply try to convert any string with “::” in it to a GPS link, so if you’re in the habit of using that in your posts, I recommend finding the declaration for the $searchBit variable in the PHP, changing it to whatever delimiter you like, and adjusting your post syntax accordingly.

v1.0:
This plugin will replace -one- properly formatted string in a post with a Google Maps link to the included GPS coordinates. The map will load in a new window/tab at zoom level=14, normal map view.

I wrote this to use when posting from my Nokia N810 handheld with WordPy, making it very easy to add a Google Maps link to my current location without using the wp-admin site, which is slow and clumsy on the handheld’s browser.

Features are minimal (only does the one thing, really), and usability could definitely use a bump. Even so, no additional development on this plugin is planned; I would suggest users looking for more comprehensive functionality take a look at WP Geo.

USAGE:
You will need three bits of info:
A) GPS North-South coordinate
B) GPS East-West coordinate
C) Link text

Then, type that info using the following format into your post:

:gps:C::A::B:gps:

For example, if you wish to post a link to a map of GPS coordinates 32.970705,-116.955461 as reported by your GPS device/handheld/etc, simply type the following string into your post:

:gps:And this is an example link.::32.970705::-116.955461:gps:

And the plugin will convert that to the following markup when WordPress renders the post:

And this is an example link.

安裝

  1. Upload ‘gmapgpslink.php’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

What if I need something more powerful/functional/useful/pretty?

I can’t really help you with that. If you saw my code, you’d understand just how true that is. Feel free to build upon my paltry offering to the FOSS gods, or you might take a look at WP Geo.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Google Maps GPS Link” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Google Maps GPS Link 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄