An easy way to open a location in a map app of the user's choice, based on the apps they have installed on their device. The app supports Apple Maps, Google Maps, Citymapper, Uber and a dozen other apps. This is fork fromreact-native-map-link. Based on the original library, it ad...
import {showLocation} from 'react-native-map-link'; showLocation({ latitude: 38.8976763, longitude: -77.0387185, sourceLatitude: -8.0870631, // optionally specify starting location for directions sourceLongitude: -34.8941619, // required if sourceLatitude is specified title: 'The White House', //...
未提供具体参数供react-native-map-link调用 yangzx18 commented Aug 19, 2024 补充说明: 1、下载高德地图后,点击demo中的导航按钮,没有显示高德地图这一选项,只能选择用花瓣地图去打开。如果把花瓣地图的module.json5中的配置去掉,则会提示高德地图以及百度地图都未下载 2、高德目前在鸿蒙提供的api中,还只有路径...
"name": "react-native-map-link", "version": "2.0.2", "description": "Open the map app of the user's choice with a specific location", "main": "index.js", "repository": { "type": "git", "url": "git+https://github.com/includable/react-native-map-link.git" ...
Integrate the InTouch React Native SDK Getting started Install the below mentioned library in your project. npm install mapmyindia-intouch-react-native-sdk --save If using React-native<0.60 react-native link mapmyindia-intouch-react-native-sdk Installation For Android and Ios add the below ...
React Native (0.60+) Installation Step 1 - Install Package: Using yarn Install the latest source from git: yarn add rnmapbox/maps#main Using npm Install the latest source from git: npm install --save rnmapbox/maps#main Installing other versions Replace rnmapbox/maps#main with the following...
import {showLocation} from 'react-native-map-link'; showLocation({ latitude: 38.8976763, longitude: -77.0387185, sourceLatitude: -8.0870631, // optionally specify starting location for directions sourceLongitude: -34.8941619, // required if sourceLatitude is specified title: 'The White House', //...
import {showLocation} from 'react-native-map-link'; showLocation({ latitude: 38.8976763, longitude: -77.0387185, sourceLatitude: -8.0870631, // optionally specify starting location for directions sourceLongitude: -34.8941619, // not optional if sourceLatitude is specified title: 'The White House',...
import { showLocation } from 'react-native-map-link' showLocation({ latitude: 38.8976763, longitude: -77.0387185, sourceLatitude: -8.0870631, // optionally specify starting location for directions sourceLongitude: -34.8941619, // not optional if sourceLatitude is specified title: 'The White House'...
import { showLocation } from 'react-native-map-link' showLocation({ latitude: 38.8976763, longitude: -77.0387185, sourceLatitude: -8.0870631, // optionally specify starting location for directions sourceLongitude: -34.8941619, // not optional if sourceLatitude is specified title: 'The White House'...