gpt4 book ai didi

google-maps - Xamarin.Forms 中的 Google Place 自动完成

转载 作者:行者123 更新时间:2023-12-04 11:53:31 25 4
gpt4 key购买 nike

有人使用 Xamarin.Forms 集成了 Google Place Autocomplete 吗?我将在 map 上使用它来获取位置建议。我只看过 Xamarin.Android 和 Xamarin.iOS 的资源,但在实现 AutoCompleteView 方面,我也不知道。如果有人可以指导我,我将非常感激。谢谢!

最佳答案

地点自动完成可以通过使用 Google Place API 来实现,每当用户输入一个字符时,与输入字符匹配的位置将从 Google 服务器获取并绑定(bind)回用户界面。

以下是如何以 Xamarin 形式使用 Google Map Place API 的链接:
http://www.appliedcodelog.com/2015/05/google-place-api-with-autocomplete-in.html

另外,请阅读官方 Google Places API 网络服务:
https://developers.google.com/places/web-service/autocomplete

关于google-maps - Xamarin.Forms 中的 Google Place 自动完成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34390423/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com