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

Locationmap

外掛說明

Draws a map and inserts points on the location. Has the ability to draw multiple maps. Only accepts PNG as input and output.

Loads a xml from the admin panel, which tells us the following:

  • Image to load
  • Image to use for plotting a location
  • Locations
    • Title
    • x,y

a valid xml should look like the following:

Want to show the map? Just put <?php locationmap("mapid"); ?> in your template. Don’t want to hack a new template or existing template together ? Just put the following in your post: %locationmap: mapid% .

Font is the fine Semplice Regular from Style-Force. http://pixelfonts.style-force.net/

安裝方式

  • Upload the plugin to your plugins folder, and off you go.
  • Create a valid xml
  • Add a call to locationmap(“myMapId”); to your template, or a parsable tag to a post / page.

常見問題集

  • I’m getting no text or a warning about the font.

    • A. Did you specify the font tag ?
  • I’d like to have feature x and y, can you implement this ?

    • A. Give me a try, and if I like it, ill add it. You can send your contributions to me, and i’ll add them if it fits the plugin.
  • I want to define multiple maps, how do I do it.

    • A. Just define multiple blocks, be sure to have unique id’s for each map!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Locationmap〉的開發相關工作。

參與者

將〈Locationmap〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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