Wikitude
play_for_work
Forum
FAQ
Documentation
Download
wikitude.com
How can we help you today?
Enter your search term here...
Search
Start a new topic
Discussions
Wikitude SDK (Android, iOS, UWP)
Wikitude SDK Questions or Problems
Calculate marker angle from the user's current location
R
Rasanga Perera
started a topic
almost 8 years ago
Calculate marker angle from the user's current location
3 Comments
Oldest First
Popular
Newest First
Sorted by
Popular
M
Mattia Galati
said
almost 8 years ago
Hy dude, check out this js library:
http://www.movable-type.co.uk/scripts/latlong.html
R
Rasanga Perera
said
almost 8 years ago
Is there a function to calculate marker angle from the user's current location using the architect.js?
W
Wolfgang Damm
said
almost 8 years ago
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
Login
or
Signup
to post a comment
More topics in
Wikitude SDK Questions or Problems
Instatiation of WTArchitectView compile errors
Point of interest - native iOS
Slider
Camera lagging / slow in native Swift application
Create a web service
N-th ImageDrawable not displayed
Radar Example
stop defaultlocationmanager and use architectview.injectlocation ios 10
WTC Size Limit
AngularJS and wikitude
See all 3739 topics
© 2020
Wikitude
GmbH ·
Imprint
·
Legal
Rasanga Perera