我需要使用谷歌自动填充功能获取数据(国家,州,城市,邮政编码,国家代码),用户在应用程序中放置地址 .
对于Google api,我使用:
https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false
我为IONIC App尝试了很多AngularJs和Ionic插件,但没有像以下那样获得成功:
https://github.com/iazi/ngMapAutocomplete
https://github.com/vskosp/vsGoogleAutocomplete
https://github.com/ivanthecrazy/ion-place-autocomplete
https://github.com/israelidanny/ion-google-place
如果任何人正在处理或遇到此类问题,请帮助我 .
我使用这个插件解决了我的问题:
https://market.ionic.io/plugins/ion-google-autocomplete
1 回答
我使用这个插件解决了我的问题:
https://market.ionic.io/plugins/ion-google-autocomplete