On this page

Function getCardinalDirection

  • Get the cardinal direction based on an angle with

    • : true north
    • 90°: east
    • 180°: south
    • 270°: west

    Parameters

    • angle: number

    Returns string

Was this helpful?
SDK JS
Modules
Reference
functions
getCardinalDirection