[WordPress] 外掛分享: Embed Webmap

首頁外掛目錄 › Embed Webmap
WordPress 外掛 Embed Webmap 的封面圖片
300+
安裝啟用
★★★★
4.6/5 分(7 則評價)
2608 天前
最後更新
問題解決
WordPress 3.5.1+ v2.0.4 上架:2014-08-07

內容簡介

輕鬆快速地將 ArcGIS Online Webmaps 嵌入 WordPress!

使用方式

先取得一個公開的 ArcGIS Online 網上地圖之 ID(請見截圖以獲得協助),然後在任何 WordPress 頁面或文章中包含以下簡碼:

[webmap id="52475e6edb18471780858627b40460c2"]

…將 ID 部分替換為您從地圖獲得的網上地圖 ID。

您可以向簡碼添加許多不同的選項。詳細資料請參閱“其他注意事項”。

簡碼選項

id – 您要嵌入的網上地圖之 Web Map ID。從 arcgis.com 的瀏覽器 URL 取得。詳細資訊請查看 “Screenshots” 頁面。例如:[webmap id="52475e6edb18471780858627b40460c2"]
extent – 縮寫形式。使用 http://psstl.esri.com/apps/extenthelper/ 取得協助。例如:[webmap extent="-159.3635,7.093,-45.8967,63.7401"]
height – 指定高度(以像素為單位)。例如:[webmap height="600"]
width – 指定寬度(以像素為單位)。例如:[webmap width="230"]
zoom – 包括縮放按鈕。例如:[webmap id="52475e6edb18471780858627b40460c2" zoom]
home – 包括主頁按鈕。如果包括此項,縮放按鈕將自動包括。例如: [webmap id="52475e6edb18471780858627b40460c2" home]
scale – 包括比例尺。例如:[webmap scale id="52475e6edb18471780858627b40460c2"]
legend – 包括圖例按鈕。例如:[webmap id="52475e6edb18471780858627b40460c2" legend]
search – 包括位置搜尋文字方塊。例如:[webmap id="52475e6edb18471780858627b40460c2" search]
searchextent – 使用“search”(上面)時,僅搜尋當前範圍。例如:[webmap id="52475e6edb18471780858627b40460c2" search searchextent]
basemap_toggle – 顯示底圖切換按鈕。必須還包括 “alt_basemap”,以指示單擊切換按鈕時要顯示的替代底圖。例如:[webmap id="52475e6edb18471780858627b40460c2" basemap_toggle alt_basemap="streets"]
basemap_gallery – 包括底圖菜單。[webmap id="52475e6edb18471780858627b40460c2" basemap_gallery]
view-larger-link – 在地圖下方包括一個鏈接,以在較大的窗口中查看地圖。例如:[webmap id="52475e6edb18471780858627b40460c2" view-larger-link]
disable_scroll – 如果添加此項目,當滑鼠移過地圖時,滾動將不會縮放地圖。例如:[webmap id="52475e6edb18471780858627b40460c2" disable_scroll]
details – 顯示地圖詳細資訊窗格。例如:[webmap id="52475e6edb18471780858627b40460c2" details]

已停用的選項:

description – 已停用。請改用“DETAILS”。
basemaps – 已停用。請改用“BASEMAP_GALLERY”。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Easily and quickly embed ArcGIS Online Webmaps into WordPress!
Usage
Get your webmap ID (see screenshots for help) of a public webmap in ArcGIS Online, then in any page or post in WordPress include this shortcode:
[webmap id="52475e6edb18471780858627b40460c2"]

… replacing the ID section with the webmap ID that you got from your map.
You can add many different options to the shortcode. See “Other Notes” above for details.
Shortcode Options

id – The webmap ID of the map you wish to embed. Get this from the URL bar on arcgis.com. See the “Screenshots” page for help. Example: [webmap id=”52475e6edb18471780858627b40460c2″]
extent – in the “shortened” form. Use http://psstl.esri.com/apps/extenthelper/ for help. Example: [webmap extent=”-159.3635,7.093,-45.8967,63.7401″]
height – specify the height, in pixels. Example: [webmap height=”600″]
width – specify the width, in pixels. Example: [webmap width=”230″]
zoom – Include zoom buttons. Example: [webmap id=”52475e6edb18471780858627b40460c2″ zoom]
home – Include a home button. If this is included, the zoom buttons will automatically be included. Example: [webmap id=”52475e6edb18471780858627b40460c2″ home]
scale – Include a scale bar. Example: [webmap scale id=”52475e6edb18471780858627b40460c2″]
legend – Include a legend button. Example: [webmap id=”52475e6edb18471780858627b40460c2″ legend]
search – Include a location search textbox. Example: [webmap id=”52475e6edb18471780858627b40460c2″ search]
searchextent – When using ‘search’ (above), only search the current extent. Example: [webmap id=”52475e6edb18471780858627b40460c2″ search searchextent]
basemap_toggle – Show a basemap toggle. Must also include ‘alt_basemap’ to indicate alternate basemap that will show when the toggle button is clicked. Example: [webmap id=”52475e6edb18471780858627b40460c2″ basemap_toggle alt_basemap=”streets”]
basemap_gallery – Include a basemap menu. [webmap id=”52475e6edb18471780858627b40460c2″ basemap_gallery]
view-larger-link – Include a link below the map to view the map in a larger window. Example: [webmap id=”52475e6edb18471780858627b40460c2″ view-larger-link]
disable_scroll – When the mouse is over the map, the scroll will not zoom the map if this is added. Example: [webmap id=”52475e6edb18471780858627b40460c2″ disable_scroll]
details – Show the map details pane. Example: [webmap id=”52475e6edb18471780858627b40460c2″ details]

Depricated Options:

description – DEPRICATED. PLEASE USE ‘DETAILS’ INSTEAD.
basemaps – DEPRICATED. PLEASE USE BASEMAP_GALLERY INSTEAD.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon