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

    Function coordinatesToTemplate

    • Format coordinates to a template string.

      Parameters

      • coordinates: (string | number)[]

        with [x, y] in degrees.

      • Optionaltemplate: string

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

      Returns string

      the formated coordinates.