[WordPress] 外掛分享: thydzik Google Map

首頁外掛目錄 › thydzik Google Map
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
★★★☆☆
3/5 分(1 則評價)
2959 天前
最後更新
問題解決
WordPress 2.8+ v3.3 上架:2008-04-03

內容簡介

更新後的程式碼支援最新版本的 WordPress 和 Google 地圖 API v3 功能!

thydzikGoogleMap 是一個 WordPress 的外掛程式,可在 WordPress 文章中直接創建 Google 地圖。 與其他現有的 Google 地圖外掛相比,它具有以下優點:

易於使用:只需要在單獨的一行中輸入 ‘thydzikGoogleMap(mapdata.xml)’(不分大小寫),即可創建 Google 地圖。
使用 XML 地圖數據,這允許最大程度的可配置性,並支持多種顏色和數字標記和折線。信息窗口可以包含 HTML。
通過使用 PHP 代理支持跨域 XML 文件(您的 XML 文件可以放在任何地方)。
Google 地圖的寬度、高度、縮放和地圖類型都可以單獨配置。
允許讀者下載可以上傳到 GPS 進行簡單導航的 gpx 文件。
Google 地圖 API v3,不需要金鑰。
1.支持 KML 文件。

官方首頁(附許多可運作的示例)

注:

歡迎任何建議或錯誤的評論。

一些提示:

* 如果省略寬度和高度,將使用配置頁面中找到的默認寬度和高度(分別為 460 和 345)
* 只有在找到 XML 文件時,thydzikGoogleMap 才能創建 Google 地圖,以便在不產生 Google 地圖的情況下發布示例,即 thydzikGoogleMap(mapdata.xml)。
* thydzikGoogleMap 使用 the_content 搜索文章內容,並使用 HTML 和 JavaScript 替換有效的 thydzikGoogleMap 以生成 Google 地圖。
* thydzikGoogleMap 生成有效的 XHTML。
* thydzikGoogleMap 可以讀取跨域 XML 文件。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「thydzik Google Map」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Rewritten code supporting latest WordPress and Google Map API v3 features!
thydzikGoogleMap is a WordPress plugin that creates inline Google maps in your WordPress posts. With advantages over other existing Google maps plugins being;

Ease of use, to create a Google map simply type ‘thydzikGoogleMap(mapdata.xml)’ (case insensitive) in your post on its own line.
Uses XML map data, this allows for maximum configurability, and supports multiple coloured and numbers makers and polylines. Info windows can contain html.
Supports cross-domain XML files by using a PHP proxy (your XML file can be anywhere).
Google Map width, height, zoom and map type are all individually configurable.
Allow readers to download gpx files which can be uploaded to GPS for easy navigation.
Google Maps API v3, no key required.
1.Support for KML files.

Official Homepage (with lots of working examples)
Notes
Comments welcome on any suggestions or bugs.
A few pointers:
* if width and height is excluded, the default width and height (460 and 345 respectively), found in the configuration page will be used.
* thydzikGoogleMap will produce a Google map only if the XML file is found, this was made so that examples i.e. thydzikGoogleMap(mapdata.xml) could be posted without producing a Google map.
* thydzikGoogleMap searches post text using the_content and replaces valid thydzikGoogleMap with HTML and Javascript to produce a Google map.
* thydzikGoogleMap produces valid XHTML.
* thydzikGoogleMap can read cross-domain XML files.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon