[WordPress] 外掛分享: CBX Map for Google Map & OpenStreetMap

WordPress 外掛 CBX Map for Google Map & OpenStreetMap 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「CBX Map for Google Map & OpenStreetMap」是 2017-01-17 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2024-02-29,距離現在已有 429 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 4 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

codeboxr | manchumahara |

外掛標籤

google map | openstreet | openstreetmap | Gutenberg block | elementor addons |

內容簡介

CBX Map是一個WordPress外掛,可幫助顯示Google地圖和OpenStreetMap。它可以透過簡碼簡單使用,而地圖會響應式載入。使用此外掛,您可以輕鬆建立地圖、找到地址,並透過輕鬆的滑鼠點擊進行配置。

CBX地圖,Google地圖和OpenStreetMap by Codeboxr

📺 現場示範 | 🌟升級為PRO版 | 📋 文件 | 👨‍💻 免費支援 | 🤴 專業支援 | 📱 聯絡我們

🛄 核心外掛特色

可顯示Google地圖或OpenStreetMap(無需API金鑰)
用於地圖的自訂文章類型
使用簡碼簡單操作
使用相同的簡碼 [cbxgooglemap] 當未定義自訂文章類型時仍可使用
隨著瀏覽器寬度和調整而響應式顯示
資訊視窗
全局默認設置
用於自訂文章類型的元字段
易於在自訂文章類型編輯中找到合適的標記位置
輕鬆透過滑鼠點擊複製簡碼

▶️ 觀看影片

🀄 小工具

傳統小工具(從v1.1.7)
Elementor頁面構建器元素/小工具支援
Gutenberg支援(從v1.1.2)
WPBackery(VC)支援(從v1.1.6)

🧮 簡碼

最簡短的簡碼形式是 [cbxgooglemap id=" google map post id here"],其中 id 是自訂Google地圖文章的文章ID。

我們可以使用簡碼來顯示已保存的地圖(此外掛會在後端建立自訂文章類型CBX Maps (cbxgooglemap) 以按需要創建地圖),或者可以使用自定義屬性來顯示地圖。對於保存地圖,我們只需要一個參數: [cbxgooglemap id="google map post id here"]

id = 文章ID,可以為空
--------------------------------
我們也可以使用自訂屬性來顯示地圖
地圖類型 = 'roadmap',可接受值包括 'roadmap'、'satellite'、'hybrid'、'terrain'
寬度 = 數字,接受'%',不要加入'px',如果僅為數字,則會自動添加px
高度 = 數字,不要加入'px'
縮放 = 默認值 8
緯度 = 必填項目
經度 = 必填項目
標題 = 用於資訊視窗標題
網站 = 與彈出視窗中的地名相關聯的網站URL,留空則忽略
地址 = 用於資訊視窗內容
滾輪 = 1開啟、0關閉,默認值為1,或由默認配置
顯示資訊 = 1啟用、0停用,默認為1或由默認配置。顯示彈出視窗與否
infow_開啟 = 1啟用、0停用,默認為1或由默認配置。彈出視窗打開或點擊
地圖圖示 = 地圖圖示URL,留空則忽略

讓我們知道您期望的新功能。

💎 CBX地圖 Google 地圖和 OpenStreetMap PRO 特色

👉 獲得 pro 附加元件

距離搜索簡碼、地圖和列表顯示
在單個地圖中從地圖文章類型顯示多個標記
使地圖成為公開或否,以便單個地圖可像網站頁面一樣瀏覽
使用多個地圖的影響力圖示

原文外掛簡介

CBX Map is a WordPress plugin that helps to display Google map and OpenStreetMap inside worpress. It’s easy to use using shortcode and map loads responsive. From the plugin’s seeing create map, find adress and configure easily with just mouse click.
CBX Map for Google Map & OpenStreetMap by Codeboxr

📺 Live Demo | 🌟 Upgrade to PRO | 📋 Documentation | 👨‍💻 Free Support | 🤴 Pro Support | 📱 Contact

🛄 Core Plugin Features

Google MAP or Openstreep map(no api key needed)
Custom post type for map
Easy Shortcode
Works without custom post type using the same shortcode [cbxgooglemap]
Responsive with browser width and resize
Info window
Default global Setting
Meta field for custom post type
Easy geo complete feature while finding proper marker position in custom post type edit.
Easy copy shortcode with mouse click

▶️ Watch Video

🀄 Widgets

Classic Wedget (From v1.1.7)
Elementor page builder element/widget support
Gutenberg support (From v1.1.2)
WPBackery(VC) Support (From v1.1.6)

🧮 Shortcodes
The most short form of the shortcode is [cbxgooglemap id="google map post id here"] where id is post id of custom google map post type
We can use shortcode to display saved map (this plugin creates custom post type CBX Maps(cbxgooglemap) in admin to create maps as need) or can display map using custom attributes. For save map we need only one param [cbxgooglemap id="google map post id here"]
id = post id, can be empty
--------------------------------
We can also display map using custom attributes
maptype = default 'roadmap', possible values, 'roadmap', 'satellite', 'hybrid', 'terrain'
width = numeric value, '%' accepted, no 'px', if only numeric value then px will be added automatically
height = nemeric value, no 'px'
zoom = default 8
lat = lattitude value, required
lng = longitude value, required
heading = used for info window title
website = website url that is linked to place name in popup info window, leave empty to ignore
address = used for info window content
scrollwheel = 1 enable , 0 disable, default 1 or comes from default config
showinfo = 1 enable , 0 disable, default 1 or comes from default config, show popup window or not
infow_open = 1 enable , 0 disable, default 1 or comes from default config, show popup as opened or on click
mapicon = map icon url, leave empty to ignore

Let us know which new feature you except.
For pro addon features and shortcode see documentation.
💎 CBX Map for Google Map & OpenStreetMap Pro Features
👉 Get the pro addon

Distance Search shortcode , map and list display
Displays multiple markers from the maps post types in single map
Make map public or not so that single map can be browse like post
Map Categories

▶️ Watch Video

🔩 Installation
This section describes how to install the plugin and get it working.
e.g.
1. Upload folder cbxgooglemap to the /wp-content/plugins/ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Go to CBX Google map setting, put google map api key (in google project console you need, js map api, geo coding api, e)
4. Place shortcode any where as need

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CBX Map for Google Map & OpenStreetMap」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1.5 | 1.1.6 | 1.1.7 | 1.1.8 | 1.1.9 | trunk | 1.1.10 | 1.1.11 | 1.1.12 |

延伸相關外掛(你可能也想知道)

文章
Filter
Mastodon