如何在React JS中实现Google Places API? [英] How to implement Google Places API in React JS?
本文介绍了如何在React JS中实现Google Places API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在React JS中实现Google Places API,但我无法做到这一点,我不知道该从哪里开始,我在寻找一些库,但是我所得到的一切都与Google Maps,它们是2个不同的API.
I'm trying to implement Google Places API in React JS, but I am not able to do that, I don't know where I have to start, I was looking for some libraries, but everything that I get is about Google Maps, and those are 2 different APIs.
有人可以帮我吗?
推荐答案
您没有提供太多详细信息,但我认为本教程可能会满足您的需求,请查看以下内容:
You did not provide much details but I think this tutorial may fits your needs, check it out:
可以在 google-maps-react 中获取整个模块如教程中所示.
希望对您有所帮助.
The entire module is available at google-maps-react
as indicated in the tutorial.
Hope it helps.
这篇关于如何在React JS中实现Google Places API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文