內容簡介
這個外掛可以創建一個點擊式介面,以添加 Google 街景到您的文章和頁面。點擊相應的媒體按鈕插入一個街景。您可以添加許多街景,並使用 CSS 獨立地設置其樣式。
功能:
易於使用(如果您之前使用過Google 街景,您會認識介面)
無須修改模板文件
無需 API Key
可以在快速標籤中使用 CSS 進行高級樣式設置
此版本新增功能:地址搜索框
當您向文章/頁面中添加視圖時,該外掛會生成一個 [streetview] 標籤。此標籤包含位置和視點信息:
[streetview width="100%" height="250px" lat="34.360988" lng="-86.693436" heading="-94.17771883289124" pitch="-3.342175066312998" zoom="1"][/streetview]
其他屬性(例如寬度和高度)會轉換為 CSS,您也可以添加自己的 CSS。例如,此代碼將生成一個綠色邊框的正方形(500x500)街景窗口:
[streetview border="green 1px solid" width="500px" height="500px" lat="34.360988" lng="-86.693436" heading="-94.17771883289124" pitch="-3.342175066312998" zoom="1"][/streetview]
外掛標籤
開發者團隊
原文外掛簡介
This plugin creates a point and click interface to add Google Street View panorama’s to your posts and pages. Click on the appropriate media-button to insert one. You can add as many panorama’s as you want and style them individually using CSS.
Features:
Easy to use (if you have used Google Street View before, you will recognize the interface)
No template hacking required
No API key required
CSS can be used in the quicktag for advanced styling
New in this version: address searchbox
When you add the view to the post/page, the plugin generates a [streetview] tag. This tags contains the location and point of view information:
[streetview width="100%" height="250px" lat="34.360988" lng="-86.693436" heading="-94.17771883289124" pitch="-3.342175066312998" zoom="1"][/streetview]
The orther attributes (eg. width and height) are converted to CSS and you can add you own CSS as well. For example, this code will generate a square (500×500) street view window, with a green border:
[streetview border="green 1px solid" width="500px" height="500px" lat="34.360988" lng="-86.693436" heading="-94.17771883289124" pitch="-3.342175066312998" zoom="1"][/streetview]
