@geoblocks/ol-comfy
    Preparing search index...

    Function coordinatesToDMSTemplate

    • Format coordinates to degree minutes seconds notation.

      Parameters

      • coordinates: number[]

        with [x, y] in degrees.

      • OptionalfractionDigits: number

        the precision to keep on the seconds. Default to 0.

      • Optionaltemplate: string

        a template string containing "{x}" and/or "{y}" to format the result.

      Returns string

      the formated coordinates.