• Transforms a coordinate from longitude/latitude to a different projection.

    Parameters

    • coordinate: Coordinate

      Coordinate as longitude and latitude, i.e. an array with longitude as 1st and latitude as 2nd element.

    • Optional opt_projection: ProjectionLike

      Target projection. The default is Web Mercator, i.e. 'EPSG:3857'.

    Returns Coordinate

    Coordinate projected to the target projection.

    Api

    stable

Generated using TypeDoc