• JMap.Map.getAllDistanceUnits

    Returns a list of all available distance units.

    Returns JMAP_DISTANCE_UNITS[]

    Example

    // returns list of all distance units
    // ["millimeters", "centimeters", "meters", "kilometers", "inches", "feet", "yards", "miles", "nauticalmiles" ]
    JMap.Map.getAllDistanceUnits()