Skip to main content

Class: GeoJSONShapesDataLoader

Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataLoader.ts:13

Extends

Constructors

Constructor

new GeoJSONShapesDataLoader(dataSource, projectDir): GeoJSONShapesDataLoader

Defined in: @tissuumaps-storage/src/base.ts:31

Parameters

dataSource

GeoJSONShapesDataSource

projectDir

FileSystemDirectoryHandle | null

Returns

GeoJSONShapesDataLoader

Inherited from

AbstractShapesDataLoader< GeoJSONShapesDataSource, GeoJSONShapesData >.constructor

Properties

dataSource

protected readonly dataSource: GeoJSONShapesDataSource

Defined in: @tissuumaps-storage/src/base.ts:28

Inherited from

AbstractShapesDataLoader.dataSource


schema

readonly schema: object = geoJSONShapesDataSourceSchema

Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataLoader.ts:17

properties

properties: object

properties.idProperty

idProperty: object

properties.idProperty.type

type: string = "string"

properties.url

url: object

properties.url.type

type: string = "string"

type

type: string = "object"

Overrides

AbstractShapesDataLoader.schema


uischema

readonly uischema: object = geoJSONShapesDataSourceUISchema

Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataLoader.ts:18

elements

elements: object[]

required

required: string[]

type

type: string = "VerticalLayout"

Overrides

AbstractShapesDataLoader.uischema


workspace

protected readonly workspace: FileSystemDirectoryHandle | null

Defined in: @tissuumaps-storage/src/base.ts:29

Inherited from

AbstractShapesDataLoader.workspace

Methods

loadShapes()

loadShapes(__namedParameters): Promise<GeoJSONShapesData>

Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataLoader.ts:20

Parameters

__namedParameters
signal?

AbortSignal

Returns

Promise<GeoJSONShapesData>

Overrides

AbstractShapesDataLoader.loadShapes