如何在本机反应中调用谷歌地图功能?

时间:2021-02-16 11:18:44

标签: android react-native google-maps

我需要使用来自 React Native 应用程序内的 google.maps.geometry.encodingPolyline Encoder Utility 对地理位置进行编码,

我正在尝试使用 google api 计算两个地理定位之间的距离,因为它是在地理线内添加转义字符的额外坐标工作,使用 Polyline Encoder 对线进行编码很容易。

那么,我如何从 encodePath() 调用 google.maps.geometry.encoding

我正在使用 react-native-mapsreact-native-geocoding

提前致谢。

0 个答案:

没有答案