Class: GeoJSONShapesDataProvider
Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataProvider.ts:16
Implements
ShapesDataProvider<GeoJSONShapesDataSource,GeoJSONShapesData>
Constructors
Constructor
new GeoJSONShapesDataProvider():
GeoJSONShapesDataProvider
Returns
GeoJSONShapesDataProvider
Properties
name
readonlyname:"GeoJSON"="GeoJSON"
Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataProvider.ts:20
The name of the data provider
Implementation of
ShapesDataProvider.name
schema
readonlyschema:object
Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataProvider.ts:22
The JSON schema for the data source
properties
properties:
object
properties.idProperty
idProperty:
object
properties.idProperty.type
type:
string="string"
properties.nameProperty
nameProperty:
object
properties.nameProperty.type
type:
string="string"
properties.url
url:
object
properties.url.type
type:
string="string"
required
required:
string[]
type
type:
string="object"
Implementation of
ShapesDataProvider.schema
uischema
readonlyuischema:object
Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataProvider.ts:39
The JSON Forms UI schema for the data source
elements
elements:
object[]
type
type:
string="VerticalLayout"
Implementation of
ShapesDataProvider.uischema
Methods
open()
open(
dataSource,options?):Promise<GeoJSONShapesData>
Defined in: @tissuumaps-storage/src/geojson/GeoJSONShapesDataProvider.ts:61
Opens a data source and returns the loaded data accessor
Parameters
dataSource
The data source to open
options?
Optional abort signal, progress callback, and workspace directory handle
onProgress?
ProgressCallback
signal?
AbortSignal
workspace?
FileSystemDirectoryHandle | null
Returns
Promise<GeoJSONShapesData>
A promise that resolves to the loaded data accessor
Implementation of
ShapesDataProvider.open