前言介紹
- 這款 WordPress 外掛「Simple Map」是 2012-06-06 上架。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2018-03-11,距離現在已有 2610 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.9 以上版本才可以安裝。
- 有 12 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
miyauchi |
外掛標籤
map | address | shortcode | Google Maps |
內容簡介
使用gmaps.js輕鬆嵌入 Google 地圖的外掛程式。
這個外掛程式允許您將地址轉換成類似下面的 Google 地圖:
[map]加州舊金山[/map]
另一種方法是只用 URL 嵌入 Google 地圖,就像 oEmbed 一樣。
您還可以使用經緯度,設置寬度、高度和縮放級別:
[map lat="37.77493" lng="-122.41942"]
您想要的文字
在這裡出現
作為工具提示
的內容
[/map]
在這種情況下,地圖上將有一個標記,單擊該標記會出現工具提示。
您可以將簡單的 HTML 用作工具提示內容。
這個外掛程式在 GitHub 上維護。
一些功能:
允許您基於簡碼嵌入 Google 地圖。
可以使用地址或經緯度添加標記。
自動顯示 iPhone 用的靜態地圖。
支援 oEmbed。
參數
width:地圖的寬度。默認值為「100%」。
height:地圖的高度。默認值為「200px」。
zoom:地圖的縮放級別。默認值為「16」。
breakpoint:如果顯示窄於此值,則此外掛程式將顯示靜態地圖。默認值為「480」。
addr:要放置地圖的地址。
lat:要放置地圖的緯度。
lng:要放置地圖的經度。
infowindow:如果您想要預設開啟 infoWindow,請設置「open」。
map_type_control:「True」或「Flase」。
map_type_id:「ROADMAP」或「SATELLITE」或「HYBRID」或「TERRAIN」。
如果您設置了經緯度和地址,此外掛程式將優先使用經緯度。
過濾器
此外掛程式具有一些用於自定義的過濾器。
simplemap_default_width
simplemap_default_height
simplemap_default_zoom
simplemap_default_breakpoint
simplemap_default_infowindow
add_filter( 'simplemap_default_zoom', function(){
return 10; // 默認縮放級別為10
} );
翻譯
日語(ja) - Takayuki Miyauchi
請聯繫我。
https://github.com/miya0001/simple-map/issues
貢獻者
Takayuki Miyauchi
Zoltán Balogh
Takanobu Watanabe
Shinichi Nishikawa
nissuk
學分
這個外掛程式沒有保證,不過 WordPress 的使用者可以自由免費使用這個外掛程式,而不受任何用途的限制。
作者必須了解,操作保證和支援並未預先進行。
聯繫方式
Twitter @miya0001
原文外掛簡介
Easy way to embed google map(s) using gmaps.js.
This plugin allows you to convert address into google maps like below:
[map]San Francisco, California[/map]
Another way, you can embed Google Map with url only like oEmbed.
You can also use coordinates, set width, height and zoom:
[map lat="37.77493" lng="-122.41942"]
Text you would
like to appear
as a tooltip
goes here
[/map]
In this case there will be a marker on the map with a tooltip appearing on click on the said marker.
You can use simple html as the tooltip content.
This plugin is maintained on GitHub.
Some features:
Allows you to embed google map based on shortcode.
Markers can be added using address or lat/long.
Displays static map for iPhone automatically.
oEmbed Support.
Arguments
width: Width of the map. Default value is “100%”.
height: Height of the map. Default value is “200px”.
zoom: Zoom of the map. Default value is “16”.
breakpoint: If display is narrower than this value, this plugin will display static map. Default value is “480”.
addr: Address of the map you want to place.
lat: Lat of the map you want to place.
lng: Lng of the map you want to place.
infowindow: If you want to open infoWindow by Default, please set “open”.
map_type_control: True or Flase.
map_type_id: ‘ROADMAP’ or ‘SATELLITE’ or ‘HYBRID’ or ‘TERRAIN’.
If you will set lat/lng and address, this plugin gives priority to lat/lng.
Filter Hooks
This plugin has some filter hooks for customize default.
simplemap_default_width
simplemap_default_height
simplemap_default_zoom
simplemap_default_breakpoint
simplemap_default_infowindow
add_filter( ‘simplemap_default_zoom’, function(){
return 10; // Default zoom is 10
} );
Translators
Japanese(ja) – Takayuki Miyauchi
Please contact me.
https://github.com/miya0001/simple-map/issues
Contributors
Takayuki Miyauchi
Zoltán Balogh
Takanobu Watanabe
Shinichi Nishikawa
nissuk
Credits
This plugin is not guaranteed though the user of WordPress can freely use this plugin free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plugin use are not done at all beforehand.
Contact
twitter @miya0001
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Simple Map」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.2.0 | 0.3.0 | 0.3.1 | 0.4.0 | 0.4.1 | 0.5.0 | 0.6.0 | 0.6.1 | 0.7.0 | 0.8.0 | 0.9.0 | 1.0.0 | 1.1.0 | 1.2.0 | 1.3.0 | 1.4.0 | 1.5.0 | 1.6.0 | 1.7.0 | 1.7.1 | 1.8.0 | 1.9.0 | 2.0.0 | 2.1.0 | 2.2.0 | 2.3.0 | 2.4.0 | 2.4.1 | 2.5.0 | 2.6.0 | 2.7.0 | 2.8.0 | 2.8.1 | 2.8.4 | 2.8.7 | 2.8.8 | 2.9.0 | 4.7.0 | 4.9.0 | trunk | 2.10.0 | 2.10.1 | 2.11.0 | 2.12.0 | 2.13.0 | 2.14.1 | 2.14.2 | 2.14.3 | 2.14.5 | 2.14.6 | 2.14.7 | 2.14.8 |
延伸相關外掛(你可能也想知道)
Custom Post Type Permalinks 》自訂文章類型永久連結允許您編輯自訂文章類型的永久連結結構。, 更改自訂分類目錄的永久鏈接,以“example.org/post_type/taxonomy_name/term_slug̶...。
Custom Permalinks 》name or slug), add the filter that looks like this:, function yasglobal_exclude_posts( $post ) {, // Replace '2' with ID of the post you want to ...。
Five Star Business Profile and Schema 》此外掛可以在網站的任何頁面或文章類型上加入 schema 結構化資料,也輕易地創建一張聯絡卡片,並加上正確的結構化資料。讓你的網站增加 SEO 友好的 Schema.or...。
Speed Contact Bar 》讓您的網站訪客輕鬆聯繫您,提供永久可見的聯繫方式。, 外掛有英文、西班牙文 (Español)、俄語 (ру́сский)、德文 (Deutsch)、波蘭文 (Polski)等多種語言版本...。
Portugal States (Distritos) for WooCommerce 》這個外掛可為 WooCommerce 新增 18 個葡萄牙「州」(被稱為「Distritos」),以及兩個自治區(被稱為「Regiões Autónomas」,分別是馬德拉和亞速爾群島)。, ...。
WooCommerce Address Book 》本外掛給予您的顧客存儲多個帳單和送貨地址的選項,並在結帳時檢索它們。地址可以在/my-account/中快速方便地更新和修改,或者在結帳過程中保存。, 如果您想...。
WooCommerce Email Validation 》「WooCommerce Email Validation」是一個針對 WooCommerce 的外掛程式,可以在結帳頁面加入「確認電子郵件地址」欄位,並將其設為必填欄位。這可以確保您的顧...。
Address Autocomplete via Google for Gravity Forms 》這是一個簡單且好用的外掛程式,可以在 Gravity Form 地址欄位中使用 Google 地址自動建議 API 。如果安裝完成後,請進入 Gravity Form 的選單 ‘Autoco...。
Woocommerce autocomplete checkout address 》這個外掛程式是為了 WooCommerce 結帳時的地址欄位而設計的,它可以幫助您在 Google 上找到地址。, 功能:, 地址建議相關於選定的國家。, 與 WooCommerce 所...。
More Widgets 》WordPress的More Widgets外掛程式為你的WordPress站台的小工具範圍提供額外的小工具。使用此外掛程式來替代內建主題的小工具,這樣當你切換主題時,你的小工...。
Enhanced Custom Permalinks 》這個外掛程式是 Custom-Permalinks 外掛程式的分支,除了修正一些擴充的錯誤之外,還可以與 WP-no-category-base 外掛程式互相操作。, 這個外掛程式讓你更精...。
Embed Google Map 》Embed Google Map 是一款在 WordPress 文章、頁面、文字小工具以及模板中嵌入一個或多個 Google 地圖的外掛。添加地圖非常簡單,只需將您想在地圖上顯示的位...。
BP xProfile Location 》此外掛可與「BuddyPress」和「BuddyBoss 平台」搭配使用。它會建立「xProfile 位置」欄位類型,使用 Google Places API 來填寫和驗證會員檔案上的地址欄位。,...。
Address correction autocomplete for Woo 》這個針對 WooCommerce 的外掛程式使用 Google API 實現自動地址校正,並且應用在結帳流程中。, 功能特色, , 地址建議會根據所選擇的國家提供。, 與 WooCommer...。
Pixeline's Email Protector 》此外掛提供了一種非侵入式但高效的方式來保護郵件地址免受郵件收割機 / 垃圾郵件機器人的攻擊。這裡提供了一個示範。, 文章 / 頁面作者可以按照通常的格式(&...。