Neolithic Prancing Minotaurs
    Wondering what’s next for npm?Check out our public roadmap! »

    cordova-plugin-mapnavigator

    1.0.5 • Public • Published

    MapNavigatorPlugin

    ionic2 地图导航跳转第三方应用(优先跳转百度地图,若没安装会自动跳转高德地图, 若都没有安装则提示需要安装)

    Usage

    cordova plugin add cordova-plugin-mapnavigator
    
     
    cordova.plugins.MapNavigator.baiMapNavigatorMethod(address, result => {
                    if (result === false) {
                        //提示请安装百度或者高德app;
                        that.alert.showAlert("未检测到导航软件,请安装百度地图或高度地图App");
                    }
                }, error => {
                    console.log(error);
                })

    Keywords

    Install

    npm i cordova-plugin-mapnavigator

    DownloadsWeekly Downloads

    1

    Version

    1.0.5

    License

    ISC

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar