Function olGeometryCloneTo4326

  • Reproject an OpenLayers geometry to EPSG:4326 if needed. The geometry will be cloned only when original projection is not EPSG:4326 and the properties will be shallow copied.

    Type Parameters

    • T extends Geometry

    Parameters

    • geometry: T
    • projection: ProjectionLike

    Returns T

Generated using TypeDoc