Reprojects the coordinates of each of the GeoJSON object's vertices between the object's CRS to WGS84 (EPSG:4326).

  • Parameters

    • geojson: AllGeoJSON

      GeoJSON Feature, FeatureCollection, Geometry or GeometryCollection.

    • crs: string

      CRS in which the vertices of the GeoJSON object are written.

    Returns AllGeoJSON

    • GeoJSON Feature, FeatureCollection, Geometry or GeometryCollection in WGS84 (EPSG:4326).