This is the documentation of version 1.0.0-rc.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable getRangePolygonsConst

    getRangePolygons: (
        state: ToolState,
        rangeId: string,
    ) => { polygons: (Polygon | MultiPolygon)[] } | { error: string }

    Type Declaration

      • (
            state: ToolState,
            rangeId: string,
        ): { polygons: (Polygon | MultiPolygon)[] } | { error: string }
      • Parameters

        Returns { polygons: (Polygon | MultiPolygon)[] } | { error: string }