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

Hail Reports Heatmap

外掛說明

Interactive Hail Maps for WordPress is a cool, free, and easy way to illustrate the intensity of a hail storm. Our interactive map looks great in a blog post or a page, and is very easy to use.

Heat maps let your website visitors quickly see regions where hail was reported – the bigger the hail and the more concentrated the reports, the more intense the heat on the map. Zoom in to see individual hail report markers with mouseover details about the report.

HailMap Shortcode

[hailmap]

When used without any parameters, this shortcode will render a map of the current day’s hail reports. Customize the map with the parameters below. City and State parameters must always be used together, all others may be used alone or in conjuction with any other :

  • date=”m/d/yyyy” – Initialize the hail map with reports from the specified date.
  • [hailmap date=”4/28/2012″]

  • state=”mo” – Initialize the map centered on the state / city specified. Both state and city must be specified together.

  • city=”saint louis”
  • [hailmap state=”boston” city=”ma”]

  • zoom=”8″ – Show the map zoomed in to the specified level. Range from 4 (outer most, less detail) to 10 (inner most, more detail). If not specified, defaults to 4 if no city/state is specified, or defaults to 8 if a city/state is specified. Hail markers show on zoom levels 9 and 10.

  • [hailmap zoom=”7″]

  • hidedatenavigator=”yes” – hides the three button date navigator in the header, and prevents the visitor from changing the map’s date.

  • [hailmap hidedatenavigator=”yes”]

  • hideheader=”yes” – hides the header bar above the map. The visitor will not be able to see or change the map date.

  • [hailmap hideheader=”yes”]

  • heatonly=”yes” – user this option and the map will not display the map markers – only the heatmap.

  • [hailmap heatonly=”yes”]

螢幕擷圖

  • Example of the Hail Map centered on St. Louis, MO from the hail storm that hit on April 28th, 2012, default zoom level for a city/state (8). Short code: [hailmap date=”4/28/2012″ state=”mo” city=”saint louis”]
  • Example of the Hail Map centered on Dallas, TX from June 13, 2012, zoom level 9, hidedatenavigator. Short code: [hailmap date=”6/13/2012″ state=”tx” city=”dallas” zoom=”9″ hidedatenavigator=”yes”]
  • Example of the Hail Map not centered on any city for the hail storms of July 1, 2012. Short code: [hailmap date=”7/1/20-12″]

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Allow multiple maps on one page.

1.0.0

  • Initial release.