Giter Site home page Giter Site logo

razorness / capacitor-map-launcher Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.1 MB

Capacitor v6 plugin for launching maps (inspired by map_launcher for Flutter) - WIP

Ruby 3.36% Swift 36.92% Java 6.88% Kotlin 12.76% TypeScript 27.42% HTML 1.00% Vue 6.89% CSS 3.51% JavaScript 1.26%
applemaps capacitor googlemaps launcher maps typescript android capacitor-android capacitor-ios capacitor-plugin ios capacitor-v6

capacitor-map-launcher's Introduction

capacitor-map-launcher

Opens coordinates in native map apps

Install

npm install capacitor-map-launcher
npx cap sync

API

getInstalledMaps()

getInstalledMaps() => Promise<{ value: MapModel[]; }>

Returns: Promise<{ value: MapModel[]; }>


isMapAvailable(...)

isMapAvailable(options: { mapType: MapType; }) => Promise<{ value: MapModel; }>
Param Type
options { mapType: MapType; }

Returns: Promise<{ value: MapModel; }>


showMarker(...)

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; }

Interfaces

MapModel

Prop Type
mapType MapType
mapName string
packageName string
urlPrefix string

Enums

MapType

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'

capacitor-map-launcher's People

Contributors

razorness avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.