本文介绍了Google Places API替代的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的IOS应用(Swift 5)在很大程度上依赖于Google的Places API,尤其是Places自动完成功能.我正在使用它来获取要在地图上为用户显示的地址和地点.现在他们已经停止支持此方法了,或者有没有办法使用字符串来获取自动完成的位置呢?任何帮助是极大的赞赏.对于我的应用来说,继续工作至关重要.

My IOS app (Swift 5) HEAVILY relies on googles places API specifically the Places Autocomplete. I'm using it to get addresses and places to show on the map for users. Is there an alternative for this now that they have stopped supporting it or is there a way to fetch autocompleted places using a string. ANY help is greatly appreciated. It's essential for my app to continue working.

推荐答案

Google尚未停止支持地方信息自动填充"功能.您可以按照此迁移指南迁移到新的IOS Places SDK..您也可以在此处中参阅地点自动填充指南.

Google has not stopped supporting Places Autocomplete. You can migrate to the new Places SDK for IOS following this migration guide. You may also refer to the places autocomplete guide here.

希望这会有所帮助!

这篇关于Google Places API替代的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 20:50