
內容簡介
此外掛程式會為 Advanced Custom Fields (ACF) 建立一個新欄位,並擴展了內建 Google 地圖欄位的功能,增加了一些實用功能:
保存地圖中心。您可以將地圖中心設置為您想要的任何地方,並指示您希望將該地點作為地圖中心保存。如果您希望前端地圖顯示地圖中心的特定位置(不一定是位置標記),那麼這將非常有用。
保存縮放級別。
禁用(可選)滾輪縮放地圖。有時候當您在管理區域滾動文章時,地圖開始縮放,這可以讓您感到煩悶。這個功能就可以派上用場了。
顯示位置座標。使用此外掛程式,您可以通過使用用戶友好的地圖界面將標記設置到所需位置,從而輕鬆地獲得任何地方的位置座標(緯度和經度)。
與 ACF 附帶的 Google Map 欄位的數據格式兼容。有關詳細信息,請參見 F.A.Q.
在全域數組中保存顯示在頁面上的所有地圖。這是一個獎勵功能,適合程序員使用。有關詳細信息,請參見 F.A.Q.
此外掛程式使用的是 Google Maps API 第 3 版。
此外掛程式不使用 API 密鑰,因此在 免費 Google Maps API 的限制 下運作,
對於大多數網站來說,這應該已經足夠了。
相容性
此 ACF 欄位類型與以下版本相容:
ACF 4
ACF 5(PRO 版本)
附帶 ACF 4/5 的 Google Map 欄位。見 F.A.Q.
翻譯
此外掛程式已翻譯為:
法語
德語
荷蘭語
俄語
烏克蘭語
在 lang 目錄下有一個 POT 文件,其中包含所有翻譯字串,因此翻譯為其他語言應該很容易。
網站
http://code.fish
請投票並享受
您的投票真的會有所影響!謝謝。
授權
此外掛程式根據 GPLv2 授權。請參閱 http://www.gnu.org/licenses/gpl-2.0.html
外掛標籤
開發者團隊
原文外掛簡介
This plugin creates a new field for Advanced Custom Fields (ACF)
extending the functionality of the built-in Google Map field with several handy features:
Saves map center. You can center your maps wherever you want and indicate that you want to save that place as map center. This can be handy, if you want your front-end map to show some specific place in the center of the map (not necessary the location marker).
Saves zoom level.
Disables (optionally) map zooming with a scrollwheel. Sometimes you can get annoyed with your maps starting to zoom, when you scroll the post in the admin area. This feature comes handy here.
Shows location coordinates. It is easy to get any place’s location coordinates (latitude and longitude) with this plugin by setting a marker to the place you need using user friendly map interface.
Compatible with the data format of the Google Map field coming with ACF. See F.A.Q. for details.
Saves all maps shown at a page in the global array. This is a bonus for programmers. See F.A.Q. for details.
The plugin makes use of the Google Maps API version 3.
The plugin doesn’t use an API key and is therefore operating under the restrictions of the free Google Maps API,
which should be more than enough for most websites.
Compatibility
This ACF field type is compatible with:
ACF 4
ACF 5 (PRO version)
Google Map field coming with ACF 4/5. See F.A.Q.
Translations
The plugin is translated to:
French
German
Netherlands
Russian
Ukrainian
There is a POT file under the lang directory holding all translation strings, so it should be pretty easy to translate to other languages.
Website
http://code.fish
Please Vote and Enjoy
Your votes really make a difference! Thanks.
License
This plugin is licensed under the GPLv2. See http://www.gnu.org/licenses/gpl-2.0.html
