如何使用cordova-waze-navigator插件 [英] How to use cordova-waze-navigator plugin

查看:100
本文介绍了如何使用cordova-waze-navigator插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用此插件

https://github.com/adaltojunior86/cordova-waze-navigator

我看过互联网,但还没有找到办法使用github没有解释如何使用

I've looked all over the internet but have not yet found a way to use github has nothing explaining how to use

推荐答案

我认为答案是没有该插件的文档,所以如果你想要使用它,你必须查看源代码,这意味着使用:

I think the answer is there is no documentation for that plugin, so if you want to use it, you'll have to look at the source code, which implies a usage of:

WazeNavigator.navigateByPosition({
    lat: 50, // latitude
    lng: -4 // longitude
});

或者您可以使用 phonegap-launch-navigator 插件,
现在支持启动Waze,以及许多其他导航应用程序和有文件。

Or you could use the updated version 3 of phonegap-launch-navigator plugin, which now supports launching Waze, along with many other navigation apps and does have documentation.

这篇关于如何使用cordova-waze-navigator插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆