內容簡介
這個外掛可以透過捷徑或小工具嵌入 Google 地圖。
這個外掛是 Simple Google Map 的不同版本。它可以讓你透過地址將地圖插入到你的文章和頁面中,而 Simple Google Map 則需要緯度和經度。
使用這個外掛,你可以將 Google 地圖插入到文章、頁面或小工具化的側邊欄中。為了使用這個外掛,您需要一個用於地理編碼的 API 密鑰。Google 最近發佈了他們的 Maps API 的第三個版本。它使地圖變得更小更快,但功能較少。如果您網站的國際網域名(IDN),意思是您的 URL 直接使用法文、西班牙文帶有音標(à、é、ñ…),中文、日文、印地文、希伯來文、泰文、阿拉伯文等等,那麼這個外掛就是適合您的。Google Maps API 的 1 和 2 版本在 IDN 網站上添加地圖時會出現錯誤消息。現在,版本 3 解決了這個問題。
特點
僅透過捷徑或添加緯度和經度或添加地址即可插入文章或頁面。
作為小工具插入到您的側邊欄中。
通過添加您的語言代碼來選擇地圖的語言,例如 ja 用於日語,zh 用於中文…。
設置默認選項=較少必要的捷徑和小工具選項。
修改默認 CSS 或完全關閉它,自行設置地圖風格。
通過添加您的目的地址,添加方向指南表單。
非常簡單易用!
附加注意事項
每頁只能有一個地圖。小工具地圖將計算為一個。
信息窗口(對話框)的大小由地圖的大小決定,因此由包含 div、div#GMV 的大小決定
如果您希望在捷徑的內容值中使用 HTML,請確保在視覺模式下(而不是 HTML 模式下)輸入。在 HTML 模式下,角括號將成為特殊的 HTML 字符,並由外掛轉換回角括號。
有關範例和更多詳細資訊,請訪問外掛的主頁。頁面提供英語、法語和日語。
外掛標籤
開發者團隊
原文外掛簡介
This plugin will embed a google map using shortcode or as a widget.
This plugin is a different version of Simple Google Map. It enables to insert maps in your posts and pages from an address while Simple Google Map requires a latitude and a longitude.
With this plugin you can insert a google map into your posts, pages, or wigitized sidebar. For this plugin, you will need an API key for geocoding. Google recently released version 3 of their Maps API. They made it smaller and faster, but with less features. If you run a blog or a site with an international domain name (IDN), which means your URL is directly written in French or Spanish with accents (à,é,ñ…), in Chinese, Japanese, Hindi, Hebrew, Thai, Arabic…, this plugin is for you. The versions 1 and 2 of the Google Maps API were creating an error message if you add a map on your IDN site. Now with the version 3, that problem was solved.
FEATURES
Insert into posts or pages using only shortcode or by adding a latitude and a longitude or by adding an address
Insert into your sidebar as a widget.
Choose the language of the map by adding your language code. For example, ja for Japanese, zh for Chinese…
Set default options = less necessary shortcode and widget options.
Modify the default CSS or turn it off completely and style the map yourself.
Add a form for getting directions by simply adding your destination address.
It’s simple!
ADDITIONAL NOTES
There can only be one map one a page. A widget map counts as one.
The size of the info window (speech bubble) is dictated by the size of the map, thus the size of the containing div, div#GMV
If you wish to use html in the content value in shortcode, be sure and type it in visual mode (not HTML mode). The pointy brackets will be special html characters in HTML mode and are converted back into pointy brackets by the plugin.
For an example and more visit the plugin’s homepage. Page available in English, French and Japanese.
