內容簡介
修正 2011 年 9 月 17 日發生的「addLoadEvent」錯誤的 JavaScript 問題。
此外掛是為 BuddyPress 網站打造的地圖插件,可以顯示所有成員的位置和頭像。
加入谷歌地圖,以在所有成員頁面中顯示成員位置。此功能是通過在註冊時使用者註冊他們的地址緯度和經度,而不是在每次註冊時都定位到 geolocation 服務來完成的。
採用 Open Street Map Nominatim geolocation 服務,通過取得位置欄位並要求緯度和經度來實現此功能。此外掛將會在初始版本之外進一步開發。
管理員設定頁面允許設定地圖尺寸以及各種地圖渲染選項。
重要提示:您必須先設置一個名為「Location」的擴展用戶資料欄位,它可以設置為「基本」群組中的一個,這樣它就會出現在註冊頁面上,或者您可以創建一個新群組,在會員個人資料設定中顯示該欄位。僅當成員將他們的位置添加到此新欄位時,地圖才會顯示。
您還必須設置緯度和經度欄位。非常重要!您可以在基本群組中設置緯度和經度欄位,以在註冊頁面上顯示它,或者創建一個新群組,將其設置為欄位名稱,此時它將只在用戶個人資料設置和公開顯示中出現。
您可以設置一個名為「Info」的擴展用戶資料欄位,以在地圖上顯示會員資訊 - 這不是必要的...
外掛標籤
開發者團隊
原文外掛簡介
Fix the javascript problem with ‘addLoadEvent’ error 17/9/2011
Map plugin to show all members location and Avatars for BuddyPress sites.
Add a Google map to display the members Location. Maps are displayed in the all members page.
This is done with the users registering their address Latitude and Longitude and not by addressing the geolocation service all the time but only on registration
by taking the Location field and requesting the Latitude and Longitude from Open Street Map Nominatim geolocation service .This plugin will be developed more further than initial release.
The admin settings page allows the map to be assigned dimensions plus various map rendering options .
Important: You must have set up an extended profile field named ‘Location’ this can be either set to in the ‘Base’ group in which case it will appear on the signup page or you can
create a new group and have the field display on the members profile settings. The map will only display once the member has added their location to this new field.
You must also set up a Latitude and Longitude field. !!very importent!!
You can either set the Latitude and Longitude field in the base group to show it on the sign up page or create a new group for the field name in which case it will show in the users profle setup and public display only.
You Can set up an extended profile field named ‘Info’ to show the member info in the map – not a must…
