Skip to main content

Class: GeoJSONShapesDataStorage

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

Extends

Constructors

Constructor

new GeoJSONShapesDataStorage(dataSource, workspace): GeoJSONShapesDataStorage

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

Parameters

dataSource

GeoJSONShapesDataSource

workspace

FileSystemDirectoryHandle | null

Returns

GeoJSONShapesDataStorage

Inherited from

AbstractShapesDataStorage< GeoJSONShapesDataSource, GeoJSONShapesData >.constructor

Properties

dataSource

protected readonly dataSource: GeoJSONShapesDataSource

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

Inherited from

AbstractShapesDataStorage.dataSource


workspace

protected readonly workspace: FileSystemDirectoryHandle | null

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

Inherited from

AbstractShapesDataStorage.workspace

Methods

loadShapes()

loadShapes(options?): Promise<GeoJSONShapesData>

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

Parameters

options?
onProgress?

ProgressCallback

signal?

AbortSignal

Returns

Promise<GeoJSONShapesData>

Overrides

AbstractShapesDataStorage.loadShapes