內容簡介
使用方法
啟用插件後,您可以使用縮略語 [tb_google_map] 顯示一個 Google 地圖。
範例:
[tb_google_map address="6921 Brayton Drive, Anchorage, Alaska"]
縮略語參數
以下為您可以在縮略語中使用的所有參數清單。
address: (必填) 在地圖上顯示的地址。
maptype: (選填) 地圖類型 - 混合,衛星,路線圖或地形圖。
zoom: (選填) 縮放級別 - 使用數字 1-19。
html: (選填) 在彈出視窗中顯示的內容,預設為地址。
popup: (選填) 顯示或隱藏彈出視窗,true 或 false。
width: (選填) 地圖的寬度,預設為 100%。例如:50%,500px 等。
height: (選填) 地圖的高度,預設為 500px。例如:50%,500px 等。
鳴謝
此 WordPress 外掛使用 Cedric Kastner 和 Mario Estrada 的 gMap jQuery 插件。
外掛標籤
開發者團隊
② 後台搜尋「Theme Blvd Responsive Google Maps」→ 直接安裝(推薦)
原文外掛簡介
How To Use
After activating the plugin you can use the shortcode [tb_google_map] to display a Google Map.
Example:
[tb_google_map address="6921 Brayton Drive, Anchorage, Alaska"]
Shortcode Parameters
The following is a list of all parameters you can use within the shortcode.
address: (required) The address to show in the map.
maptype: (optional) Type of map – hybrid, satellite, roadmap, or terrain.
zoom: (optional) Zoom level – use number 1-19.
html: (optional) What to show in the popup, defaults to address.
popup: (optional) Show or hide the popup, true or false.
width: (optional) Width of map, defaults to 100%. Ex: 50%, 500px, etc.
height: (optional) Height of map, defaults to 500px. Ex: 50%, 500px, etc.
Credits
This WordPress plugin utilizes the gMap jQuery Plugin by Cedric Kastner and Mario Estrada.
