Opens coordinates in native map apps
npm install capacitor-map-launcher
npx cap sync
getInstalledMaps() => Promise<{ value: MapModel[]; }>
Returns: Promise<{ value: MapModel[]; }>
isMapAvailable(options: { mapType: MapType; }) => Promise<{ value: MapModel; }>
Param | Type |
---|---|
options |
{ mapType: MapType; } |
Returns: Promise<{ value: MapModel; }>
showMarker(options: { mapType: MapType; url: string; lat: number; lon: number; title?: string; description?: string; }) => Promise<void>
Param | Type |
---|---|
options |
{ mapType: MapType; url: string; lat: number; lon: number; title?: string; description?: string; } |
Prop | Type |
---|---|
mapType |
MapType |
mapName |
string |
packageName |
string |
urlPrefix |
string |
Members | Value |
---|---|
APPLE |
'apple' |
GOOGLE |
'google' |
GOOGLE_GO |
'googleGo' |
AMAP |
'amap' |
BAIDU |
'baidu' |
WAZE |
'waze' |
YANDEX_MAPS |
'yandexMaps' |
YANDEX_NAVI |
'yandexNavi' |
CITYMAPPER |
'citymapper' |
MAPSWITHME |
'mapswithme' |
OSMAND |
'osmand' |
OSMANDPLUS |
'osmandplus' |
DOUBLE_GIS |
'doubleGis' |
TENCENT |
'tencent' |
HERE |
'here' |
PETAL |
'petal' |
TOMTOMGO |
'tomtomgo' |
TOMTOMGOFLEET |
'tomtomgofleet' |
COPILOT |
'copilot' |
SYGIC_TRUCK |
'sygicTruck' |
FLITSMEISTER |
'flitsmeister' |
TRUCKMEISTER |
'truckmeister' |
NAVER |
'naver' |
KAKAO |
'kakao' |
TMAP |
'tmap' |
MAPY_CZ |
'mapyCz' |