A way to know the user is looking (North, South, West...) on mobile using meteor js

Is there a way to know on which direction the user is looking (North, South, West…) on mobile using meteor js?
What I want to do is to set a location for a place and then tell the user how to head to it based on the user’s location and to which direction the user is looking.

It looks like there’s a way with phonegap so presumably that comes from Cordova, and there’s a way to get it working with Meteor.

1 Like