How to use cordova-waze-navigator plugin

给你一囗甜甜゛ 提交于 2019-12-11 13:42:35

问题


How to use this plugin

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

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


回答1:


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

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.



来源:https://stackoverflow.com/questions/36176462/how-to-use-cordova-waze-navigator-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!