內容簡介
這個外掛程式會將 [coord]-標籤內的經緯度座標,替換成指向 Google 地圖服務的超連結。
例如:
[coord]49.579276566362985,10.9292078018188488[/coord] 會被替換成 (49.5792, 10.9292)
如果你想調整轉換後超連結的排版,可以打開 wpCoordinates.php 文件,在你喜歡的文本編輯器內調整以下變數:
$zoom:縮放等級,預設為 15。嘗試一些介於 1 到 17 之間的數值(只是猜測)
$type:地圖類型,例如 m 代表一般地圖,k 代表衛星影像,h 代表混合地圖(衛星影像加上街道名稱等),p 代表地形圖
$url:URL 連結格式,取代 .de 為 .com 可以使用英文版的 Google 地圖。請不要忘記 %LAT% 和 %LONG% 的替代字串
外掛標籤
開發者團隊
原文外掛簡介
This plugin replaces coordinates, i.e. latitudes and longitues, between a [coord]-Tag with a link to Google’s map service.
Example:
[coord]49.579276566362985,10.9292078018188488[/coord] comes up as (49.5792, 10.9292)
To adjust the link layout of transformed links open wpCoordinates.php in your favorite editor and adjust the following variables:
$zoom: the zoom level, default is 15. Try some values between 1 and 17 (I guess)
$type: map type, i.e. m for map, k for a satellite image, h for hybride (satellite image with street names, etc.), p for terrain
$url: URL scheme, replace .de with .com for an english version of Google Maps. DON’T forget %LAT% and %LONG%
