前言介紹
- 這款 WordPress 外掛「Embed Webmap」是 2014-08-07 上架。
- 目前有 300 個安裝啟用數。
- 上一次更新是 2019-01-28,距離現在已有 2288 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5.1 以上版本才可以安裝。
- 有 7 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
gavinr |
外掛標籤
gis | maps | arcgis | webmap |
內容簡介
輕鬆快速地將 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”。
原文外掛簡介
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Embed Webmap」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 2.0.0 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | trunk |
延伸相關外掛(你可能也想知道)
WP Go Maps (formerly WP Google Maps) 》這是一款易於使用的 Google 地圖和 Open Layers 地圖外掛程式(包括地圖區塊)!, 使用提供的短代碼,快速輕鬆地向 WordPress 文章和/或頁面添加自定義 Googl...。
Snazzy Maps 》Snazzy Maps可以輕鬆地為您現有的 Google 地圖添加風格。, 功能特色, , 瀏覽數百種免費風格。, 快速應用風格到您的 WordPress 網站上所有的 Google 地圖。, ...。
MapPress Maps for WordPress 》MapPress 是將互動式 Google 和 Leaflet 地圖添加到 WordPress 網站的最簡單方法。, 使用 Gutenberg 區塊或傳統編輯器創建無限的地圖和標記。彈出式地圖編輯...。
Image Hotspot by DevVN 》Image Hotspot by DevVN 可以幫助您在圖片上添加熱點。, 使用方法, 複製您的短代碼以查看,例如:[devvn_ihotspot id=”YOUR_ID”], , jQuery 插件...。
YaMaps for WordPress Plugin 》YaMaps外掛是在你的網站上插入Yandex地圖的最簡單方式。該外掛具有用戶友好的界面。您可以在Yandex地圖上視覺化地放置標記,用鼠標移動它們,更改圖標等等。,...。
Maps Plugin using Google Maps for WordPress – WP Google Map 》WordPress 的谷歌地圖外掛, , WordPress 的谷歌地圖使用手冊, 如何在 WordPress 網站中使用谷歌地圖, , WP Google Map 是一個很棒的外掛,可以在你的網站新增...。
Flexible Map 》Flexible Map 允許您通過簡單的短代碼將 Google 地圖添加到 WordPress 網站中。, 功能, , 三種加載地圖的方式:, , 通過中心座標, 通過街道地址, 通過指向 Go...。
10Web Map Builder for Google Maps 》10Web Google Maps 建立者, 示範, 使用者指南, 10Web Google Maps 建立者為你提供了質量和簡單性的結合,輕鬆地為你的網站添加無限的地圖。它是一個開箱即用...。
Mihdan: Elementor Yandex Maps 》這款 Elementor Yandex Maps 外掛可以協助您建立符合 SEO 標準的地圖。這款外掛支援不同的地圖類型(路線圖/衛星圖/混合圖/地形圖)和自訂地圖樣式,輕鬆地在...。
Map Multi Marker 》這個外掛是最簡單、有用和強大的 Google 地圖外掛!可輕鬆建立無數數量的 Google 地圖和標記點。有很多選項可供選擇,讓您完全自由地自訂地圖和標記點。, , ...。
HTML5 Maps 》在您的 WordPress 網站上放置一個互動性高的 HTML5 地圖吧!選擇預定義的地圖,包括世界、美國、英國、法國、德國、意大利等多個國家和地區。持續添加新版圖...。
WP GPX Maps 》這個外掛的輸入是包含使用者運動軌跡的 GPX 檔案,輸出則顯示軌跡地圖和互動式高度圖表((若有))。, 完全可配置:, , 自訂顏色, 自訂圖示, 多種語言支援, ...。
Very Simple Google Maps 》大多數網站都必須添加嵌入式Google地圖。我已經創建了一個簡單的方法,只需使用簡單的短代碼即可添加您的地圖。儘管名稱上有些功能,但這款外掛具有簡單而強...。
Simple Shortcode for Google Maps 》簡單易用卻功能強大的 Google 地圖外掛程式!評價中說這是「最佳 Google 地圖短代外掛程式」。, 這款外掛程式可讓您透過簡易的短代,在 WordPress 文章和頁面...。
Oi Yandex.Maps for WordPress 》注意!, 當您升級外掛到版本3.1.6時,它將被停用並顯示“找不到檔案”的錯誤 - 別擔心,只需重新啟用該外掛程式,...。