[WordPress] 外掛分享: Maps by G

首頁外掛目錄 › Maps by G
全新外掛
安裝啟用
尚無評分
55 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v1.0.0 上架:2026-01-21

內容簡介

總結:
Maps by G 讓您可以在 WordPress 網站上輕鬆嵌入互動式地圖,而無需 Google 地圖 API 金鑰。只需使用一個包含地址的 shortcode,外掛就會在該位置顯示一個漂亮的地圖標記。

問題與答案:
1. 外掛 Maps by G 的特色有哪些?
- 不需要 API 金鑰,使用 OpenStreetMap 圖磚
- 簡單的 shortcode 嵌入功能
- 通過 Nominatim 進行地址地理編碼
- 自定義標記標題與氣泡視窗
- 多個圖磚提供者(OpenStreetMap、CartoDB Light、CartoDB Dark)
- 手機等不同裝置響應式設計
- 可配置的縮放級別
- 啟用/停用滾輪縮放
- Gutenberg 區塊支持
- 輕量快速加載

2. 外掛使用的三方服務有哪些?
- OpenStreetMap 圖磚伺服器:提供地圖圖磚,依據地理座標和縮放級別載入圖磚。
- 服務提供者:OpenStreetMap Foundation
- 服務條款:https://wiki.osmfoundation.org/wiki/Terms_of_Use
- 隱私政策:https://wiki.osmfoundation.org/wiki/Privacy_Policy
- 圖磚使用政策:https://operations.osmfoundation.org/policies/tiles/

- CartoDB/CARTO 圖磚伺服器(可選):提供特定樣式的地圖圖磚。
- 服務提供者:CARTO
- 服務條款:https://carto.com/legal/
- 隱私政策:https://carto.com/privacy/

- Nominatim 地理編碼服務:將地址轉換為地理座標。
- 服務提供者:OpenStreetMap Foundation
- 服務條款:https://operations.osmfoundation.org/policies/nominatim/
- 隱私政策:https://wiki.osmfoundation.org/wiki/Privacy_Policy

3. 如何直接使用經緯度提供地圖位置而不使用地理編碼服務?
- 可以使用 lat 和 lng shortcode 屬性直接提供經緯度座標。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

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

原文外掛簡介

Maps by G allows you to easily embed interactive maps on your WordPress site without needing a Google Maps API key. Simply use a shortcode with an address, and the plugin will display a beautiful map with a marker at that location.
Features:

No API key required – uses OpenStreetMap tiles
Simple shortcode embedding
Address geocoding via Nominatim
Custom marker titles with popups
Multiple tile providers (OpenStreetMap, CartoDB Light, CartoDB Dark)
Responsive design for all devices
Configurable zoom levels
Enable/disable scroll wheel zoom
Gutenberg block support
Lightweight and fast loading

Usage
Basic Shortcode:
[mbyg_map address="1600 Pennsylvania Avenue, Washington, DC"]

With Custom Title:
[mbyg_map address="Eiffel Tower, Paris" title="Eiffel Tower" zoom="15"]

Using Coordinates:
[mbyg_map lat="51.5074" lng="-0.1278" title="London" zoom="12"]

Available Attributes:

address – The address to display on the map
lat – Latitude coordinate (use instead of address)
lng – Longitude coordinate (use instead of address)
zoom – Zoom level from 1-19 (default: 13)
height – Map height in pixels (default: 400)
title – Text shown in marker popup
provider – Tile provider: openstreetmap, cartodb-light, cartodb-dark (default: openstreetmap)
zoomcontrol – Show zoom buttons: true/false (default: true)
scrollzoom – Enable scroll wheel zoom: true/false (default: true)

External Services
This plugin relies on the following third-party services to provide map functionality:
OpenStreetMap Tile Servers
This plugin displays maps using tile images from OpenStreetMap’s tile servers. Map tiles are loaded when a map is displayed on your website.

What it does: Provides the visual map tiles (the actual map images you see)
When data is sent: Every time a map is displayed on your site
What is sent: The geographic coordinates (latitude/longitude) and zoom level to determine which map tiles to load
Service provider: OpenStreetMap Foundation
Terms of Use: https://wiki.osmfoundation.org/wiki/Terms_of_Use
Privacy Policy: https://wiki.osmfoundation.org/wiki/Privacy_Policy
Tile Usage Policy: https://operations.osmfoundation.org/policies/tiles/

CartoDB/CARTO Tile Servers (Optional)
If you choose the CartoDB Light or CartoDB Dark tile providers, map tiles are loaded from CARTO’s servers instead.

What it does: Provides alternative styled map tiles
When data is sent: Only when CartoDB tile providers are selected
What is sent: Geographic coordinates and zoom level
Service provider: CARTO
Terms of Service: https://carto.com/legal/
Privacy Policy: https://carto.com/privacy/

Nominatim Geocoding Service
When you provide an address (instead of coordinates), this plugin uses the Nominatim geocoding service to convert the address to geographic coordinates.

What it does: Converts street addresses to latitude/longitude coordinates
When data is sent: Only when an address is provided in the shortcode (not when using lat/lng coordinates directly)
What is sent: The address text you specify in the shortcode
Data caching: Geocoded results are cached for 24 hours to reduce API calls
Service provider: OpenStreetMap Foundation
Terms of Use: https://operations.osmfoundation.org/policies/nominatim/
Privacy Policy: https://wiki.osmfoundation.org/wiki/Privacy_Policy

Note: If you prefer not to use the geocoding service, you can always provide latitude and longitude coordinates directly using the lat and lng shortcode attributes.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon