Xamarin.Forms中的Google Place自动完成功能 [英] Google Place Autocomplete in Xamarin.Forms

查看:98
本文介绍了Xamarin.Forms中的Google Place自动完成功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人使用Xamarin.Forms集成了Google Place自动完成功能?我将在地图上使用它来提供位置建议。我只看到Xamarin.Android和Xamarin.iOS的资源,但实现AutoCompleteView的部分,我也不知道。如果有人能指导我,我会非常感激。感谢您!

解决方案

通过使用Google Place API可以实现地方自动完成,只要用户输入一个字符,输入的字符将从Google服务器获取并绑定回用户界面。



以下是如何在Xamarin表单中使用Google Map Place API的链接:
< a href =http://www.appliedcodelog.com/2015/05/google-place-api-with-autocomplete-in.html =nofollow> http://www.appliedcodelog.com/2015/ 05 / google-place-api-with-autocomplete-in.html



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

Has anyone integrated Google Place Autocomplete using Xamarin.Forms? I am to use it on a map for location suggestions. I've only seen resources for Xamarin.Android and Xamarin.iOS but on the part of implementing the AutoCompleteView, that I also don't know. I would be very thankful if someone could guide me with this. Thank you!

解决方案

Place autocomplete can be implemented by using the Google Place API, whenever user enter a character, matching location with the entered character will be fetched from the Google server and binding back in User Interface.

Here's the link how to use Google Map Place API in Xamarin form: http://www.appliedcodelog.com/2015/05/google-place-api-with-autocomplete-in.html

Also, please read the Official Google Places API Web Service: https://developers.google.com/places/web-service/autocomplete

这篇关于Xamarin.Forms中的Google Place自动完成功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆