Hy dude, check out this js library: http://www.movable-type.co.uk/scripts/latlong.html

Is there a function to calculate marker angle from the user's current location using the architect.js?

No there is not. You however you have all the information avaiable to calculate the angle inside your javascript.

One possible solution would be:

Convert user lcoation and POI location to UTM (js apis are available that do that for you) -> gives you a cartesian coordinate system

Use angular functions to calculate the angle between these two points

© 2021 Wikitude, a Qualcomm company

## Rasanga Perera