API (v2.0.0) - Giro3D
    Preparing search index...

    Variable geoJSONUtils

    geoJSONUtils: {
        fromFlat3Coordinates: (
            flat3Coords: [number, number, number][],
            geometryType:
                | "Point"
                | "LineString"
                | "Polygon"
                | "MultiPoint"
                | "MultiLineString"
                | "MultiPolygon"
                | "GeometryCollection",
        ) => Geometry;
        fromFlatCoordinates: (
            flatCoords: number[],
            geometryType:
                | "Point"
                | "LineString"
                | "Polygon"
                | "MultiPoint"
                | "MultiLineString"
                | "MultiPolygon"
                | "GeometryCollection",
        ) => Geometry;
        getOpenLayersFeature: (feature: Feature) => Feature;
        toFlatCoordinates: (geojson: Geometry) => number[];
    }

    Type Declaration

    • fromFlat3Coordinates: (
          flat3Coords: [number, number, number][],
          geometryType:
              | "Point"
              | "LineString"
              | "Polygon"
              | "MultiPoint"
              | "MultiLineString"
              | "MultiPolygon"
              | "GeometryCollection",
      ) => Geometry
    • fromFlatCoordinates: (
          flatCoords: number[],
          geometryType:
              | "Point"
              | "LineString"
              | "Polygon"
              | "MultiPoint"
              | "MultiLineString"
              | "MultiPolygon"
              | "GeometryCollection",
      ) => Geometry
    • getOpenLayersFeature: (feature: Feature) => Feature
    • toFlatCoordinates: (geojson: Geometry) => number[]