OpenLayers is an Open Source JavaScript tool that allows for the easy integration of dynamic maps into websites. I have incorporated OpenLayers into my current project and am encountering a specific issue:
While using OpenLayers, I am able to obtain longitude and latitude coordinates but I require the angle information from OpenLayers.
Is there an API within OpenLayers that can convert latitude and longitude into angles? I have searched the "Util" section of OpenLayers but have been unable to locate such an API.
Although there are mathematical functions that can accomplish this task, I am specifically interested in obtaining this information through OpenLayers.