
內容簡介
此外掛是一個響應式友善、使用 shortcode 的免費 Google 地圖嵌入工具。
使用方式
在文章編輯頁面中輸入 shortcode。對於傳統的所見即所得編輯器,您可以使用此外掛新增的 Google 地圖按鈕。
請為下列參數設定值。
width:地圖的寬度(px)
height:地圖的高度(px)
zoom:地圖的縮放級別(1-21)
border:地圖的邊框樣式(css)
address:見下方範例
latitude:見下方範例
longitude:見下方範例
發布文章後,Google 地圖便會顯示在文章中。
範例
透過「address」參數設定地址
[responsive_map width=860 height=500 address="東京車站" zoom=16 border="1px solid #ccc"]
透過「latitude」和「longitude」參數設定地點
[responsive_map width=860 height=500 latitude=35.681167 longitude=139.767052 zoom=16 border="1px solid #ccc"]
外掛標籤
開發者團隊
原文外掛簡介
Responsive friendly free GoogleMap embedder using shortcode.
How to use
On a post screen, enter the shortcode. For classic wysiwyg editor, you can use GoogleMap button which this plugin adds.
Please set values for parameters below in your shortcode.
width : width of a map (px)
height : height of a map (px)
zoom : zoom of a map (1-21)
border : border style of a map (css)
address : see examples below
latitude : see examples below
longitude : see examples below
By posting, the GoogleMap is displayed in the article.
example
set a location by “address” parameter
[responsive_map width=860 height=500 address="Tokyo Station" zoom=16 border="1px solid #ccc"]
set a location by “latitude” and “longitude” parameter
[responsive_map width=860 height=500 latitude=35.681167 longitude=139.767052 zoom=16 border="1px solid #ccc"]
