我可以使用react-native开发地图应用吗?

huangapple go评论79阅读模式
英文:

Can I use react-native for developing maps app

问题

我有一个关于使用React Native库开发支持Google/Apple地图(添加标记、测量距离等功能)的应用程序(iOS/Android)的问题。所以,主要问题是React Native是否是开发具有这些功能的应用程序的良好选择,还是应该使用原生语言如(Swift/Java)? 我可以使用react-native开发地图应用吗?

英文:

I have a question regarding possibility to uses react-native library for developing the app (ios/android) which will able to support to works with google/apple maps [put points, measure distance, etc]
So, the main question is react-native good choice for developing the app with this functionality or instead of this I should use native lang such as (swift/java) ? 我可以使用react-native开发地图应用吗?

答案1

得分: 0

是的,你可以使用React Native来开发地图应用程序。我目前正在开发一个服务提供者应用程序,该应用程序使用Google Maps,并使用了你上面提到的所有功能以及更多功能,如方向API、计算EAT、绘制路线等等。在React Native中,一切都运行良好。你可以参考这篇文章**在Android上将Google地图集成到React Native应用程序中**来集成地图功能到你的应用程序中。

我正在使用以下库:

react-native-google-places

react-native-maps

react-native-maps-directions

英文:

Yes, you can use react-native for developing maps app. I am currently developing a service provider app that uses google maps and I am using all features that you have mentioned above and many more i-e direction api, calculating EAT, drawing routes etc. Every thing works fine with react-native. You can follow this article Integrating Google Maps into React Native App on Android to integrate maps feature in you app.

I am using the following libraries:

react-native-google-places

react-native-maps

react-native-maps-directions

huangapple
  • 本文由 发表于 2020年1月3日 17:56:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/59576439.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定