[WordPress] 外掛分享: Nautic Pages

首頁外掛目錄 › Nautic Pages
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
尚無評分
1530 天前
最後更新
問題解決
PHP 5.4+ v2.0 上架:2008-07-31

內容簡介

這是一個用於顯示港口錨地上船艦位置的marinetraffic地圖短代碼。

使用短代碼:

[np_marinetraffic_map latitude=’37.4460′ longitude=’24.9467′ /]

或者搭配描述文本:

[np_marinetraffic_map latitude=’37.4460′ longitude=’24.9467′]
為地圖提供簡短的描述文字(選填)
[/np_marinetraffic_map]

短代碼參數如下:
latitude=’37.4460′ 地圖中心點的緯度,用十進制表示
longitude=’24.9467′ 地圖中心點的經度,用十進制表示

其他可用參數如下:
h4 =’地圖標題’: 用於自定義地圖標題,可使用h1、h2、h3、h4四種標題大小
width=’100%’: 地圖的寬度,可使用像素值或百分比
height=’450′: 地圖的高度,可使用像素值或百分比
border=’1′: 地圖邊框寬度,0表示無邊框
shownames=’false’: 是否在地圖上顯示船隻名稱,true表示顯示,false表示不顯示
zoom=‘9’: 地圖的縮放級別,數值範圍在2到17之間
maptype=’1′: 地圖類型,0為普通地圖,1為衛星地圖
trackvessel=’0′: 船隻的MMSI號碼,只有船隻在系統範圍內時才會顯示於地圖上,該選項將覆蓋掉縮放級別(zoom)選項
fleet=”: 註冊用戶設置的船艦群組郵箱(使用者的默認船艦群組將被使用),該選項將覆蓋掉縮放級別(zoom)選項
help=1: 幫助信息

Nautic Pages範例
Nautic Pages範例(俄文)

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

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

原文外掛簡介

Shortcode for the map marinetraffic – displays the position of vessels on the roadstead of the port.
Use a shortcode:
[np_marinetraffic_map latitude=’37.4460′ longitude=’24.9467′ /]
or with description text:
[np_marinetraffic_map latitude=’37.4460′ longitude=’24.9467′]
simple description text for the map, (optional)
[/np_marinetraffic_map]
=Shortcode parameters=
latitude=’37.4460′ the latitude of the center of the map, in decimal degrees
longitude=’24.9467′ the longitude of the center of the map, in decimal degrees
h4 =’Title for map’ header for the map, you can use h4, h3, h2, h1 size
width=’100%’ the width of the embedded map in pixels or percentage
height=’450′ the height of the embedded map in pixels or percentage
border=’1′ the width of the border around the map (zero means no border)
shownames=’false’ to display ship names on the map (true or false)
zoom=‘9’ the zoom level of the map (values between 2 and 17)
maptype=’1′ use 0 for Normal Map, 1 for Satellite
trackvessel=’0′ MMSI of a vessel (note: vessel will be displayed only if within range of the system) – overrides “zoom” option
fleet=” the registered email address of a user-defined fleet (user’s default fleet is used) – overrides “zoom” option
help=1 help text
Nautic Pages exemple
Nautic Pages exemple ru

延伸相關外掛

文章
Filter
Mastodon