
內容簡介
Brilliant Geocoder for Gravity Forms是一個功能強大且靈活的地理編碼器欄位外掛程式,可以輕鬆設定和捕獲來自其他表格欄位的地理編碼器輸入值。
它預設啟用OSM Nominatim地理編碼器並支援Geocod.io和Google Maps API。您只需輸入這些服務的API金鑰即可使用。
地理編碼器欄位可以顯示地圖、經緯度欄位、原始GeoJSON數據或隱藏。
此外掛支援WP-GeoMeta,所以若您建立帶有地理編碼數據的文章或使用者,它們的位置將被存儲為空間元數據。
注意:此外掛使用第三方服務提供地理編碼結果。預設的地理編碼器OSM Nominatim會要求您在大量請求中包含您的電子郵件地址。我們預設傳送WP管理員的電子郵件地址。您可以在Gravity Forms設定頁面下的地理編碼器中更改傳送的訊息。
什麼是地理編碼?
地理編碼是將文字(地址)轉換為座標(經度和緯度)的過程。有了座標,您可以在地圖上顯示數據和進行基於位置的搜尋。
支援其他地理編碼器
Brilliant Geocoders for Gravity Forms包含掛鉤程序,因此您可以為其他地理編碼服務添加支援。
插件已內建OSM Nominatim支援,但Geocod.io和Google Maps API的支援方式與添加其他服務的支援方式相同。特別是Geocod.io示例具有詳細的註釋。
請參閱geocoders/geocodio.php和geocoders/geocodio.js以獲取詳細資訊。
外掛標籤
開發者團隊
② 後台搜尋「Brilliant Geocoder for Gravity Forms」→ 直接安裝(推薦)
原文外掛簡介
Brilliant Geocoder for Gravity Forms is a powerful and flexible geocoder field
for Gravity Forms. The Geocoder field is easily be configured to capture geocoder
input values from other form fields.
It comes with the OSM Nominatim
geocoder enabled by default and supports Geocod.io
and the Google Maps API once you’ve entered
API keys for those services.
The geocoder field can be displayed as a map, as latitude and longitude
fields, as the raw GeoJSON data, or hidden.
This plugin supports WP-GeoMeta, so if you create posts or users with geocoded
data, their location will be stored as spatial metadata.
NOTICE: This plugin uses 3rd party services to provide geocoding results.
The default geocoder, OSM Nominatim, requests that you include your email address
in API calls if you are making a large number of requests. We send the WP admin
email address by default. You can change what is sent on the Gravity Forms settings
page, under Geocoder..
What is Geocoding?
Geocoding is the process of turning
text (an address) into coordinates (latitude and longitude). With coordinates
you can display data on a map and do location based searching.
Support for Other Geocoders
Brilliant Geocoders for Gravity Forms includes hooks so that you can add
support for other geocoding services.
OSM Nominatim support is built into the plugin, but Geocod.io and Google Maps
API support is written the same way that you would add support for another
service. The Geocod.io example in particular has extensive comments.
Please see geocoders/geocodio.php and geocoders/geocodio.js for details.
