我希望能够从我的应用程序中打开Google Maps应用程序,并从我的应用程序数据中获取具有多个航路点的路线。
如果您检查此库react-native-directions。 。您可以在那里提供经纬度的经纬度,它将使用打开地图。指示。在幕后,它仅使用[
调用Linking
的react-native
const url = `https://www.google.com/maps/dir/?api=1&${getParams(
params
)}${getWaypoints(waypoints)}`