[WordPress] 外掛分享: GMap Shortcode

首頁外掛目錄 › GMap Shortcode
WordPress 外掛 GMap Shortcode 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
60+
安裝啟用
★★★★★
5/5 分(1 則評價)
4037 天前
最後更新
問題解決
WordPress 3.0.1+ v2.0 上架:2015-02-19

內容簡介

與最新版本的 Google Maps 兼容。

您可以使用短代碼添加地圖。

您只需:

前往 https://www.google.com/maps

搜索您要在網站中嵌入的地址。拖動地圖以調整到您想要的部分。

複製緯度和經度。

前往要添加地圖的頁面,並粘貼此短代碼:[gmap_mc lat=”LATITUDE” long=”LONGITUDE”]

需要注意以下幾點:

默認尺寸為 350×250

預設的緯度和經度指向古巴

您可以使用這些參數設置自己的尺寸 [gmap_mc lat=“LATITUDE” long=”LONGITUDE” width=”600″ height=”250″]

您可以使用地圖寬度參數設置地圖的縮放程度,例如:[gmap_mc lat=”LATITUDE” long=”LONGITUDE” width=”600″ height=”250″ mapwidth=”3000km”]。預設縮放程度為1500km。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WORKS WITH THE NEW VERSION OF GOOGLE MAPS
You can add a map using a shortcode.
You only need to:

Go to https://www.google.com/maps

Search the address you want to embed in your website. Drag and drop the map to adjust it to the section you want.

Copy the latitude and longitude.

Go to the page you want to add the map and paste this shortcode: [gmap_mc lat=”LATITUDE” long=”LONGITUDE”]

To keep in mind:

The default dimensions are 350×250

The defaults latitude and longitude point to Cuba

You can set your own dimensions using these parameters [gmap_mc lat=”LATITUDE” long=”LONGITUDE” width=”600″ height=”250″]

You can set the zoom of your map using the parameter mapwidth, like this [gmap_mc lat=”LATITUDE” long=”LONGITUDE” width=”600″ height=”250″ mapwidth=”3000km”]. The zoom is assumed to be in miles unless you specify km. The default zoom is 1500km

延伸相關外掛

文章
Filter
Mastodon