Skip to main content

Interface: ViewerAdapter

Defined in: adapter.ts:22

Properties

addShape?

optional addShape?: (shape) => void

Defined in: adapter.ts:60

Parameters

shape

MultiPolygon

Returns

void


colorMaps

colorMaps: GroupValueMap<Color>[]

Defined in: adapter.ts:32


glOptions

glOptions: WebGLOptions

Defined in: adapter.ts:36


images

images: Image[]

Defined in: adapter.ts:25


interactionMode

interactionMode: InteractionMode

Defined in: adapter.ts:59


labels

labels: Labels[]

Defined in: adapter.ts:26


layers

layers: Layer[]

Defined in: adapter.ts:24


loadImage

loadImage: (image, options?) => Promise<ImageData>

Defined in: adapter.ts:37

Parameters

image

Image

options?
signal?

AbortSignal

Returns

Promise<ImageData>


loadLabels

loadLabels: (labels, options?) => Promise<LabelsData>

Defined in: adapter.ts:41

Parameters

labels

Labels

options?
signal?

AbortSignal

Returns

Promise<LabelsData>


loadPoints

loadPoints: (points, options?) => Promise<PointsData>

Defined in: adapter.ts:45

Parameters

points

Points

options?
signal?

AbortSignal

Returns

Promise<PointsData>


loadShapes

loadShapes: (shapes, options?) => Promise<ShapesData>

Defined in: adapter.ts:49

Parameters

shapes

Shapes

options?
signal?

AbortSignal

Returns

Promise<ShapesData>


loadTable

loadTable: (table, options?) => Promise<TableData>

Defined in: adapter.ts:53

Parameters

table

Table

options?
signal?

AbortSignal

Returns

Promise<TableData>


markerMaps

markerMaps: GroupValueMap<Marker>[]

Defined in: adapter.ts:30


opacityMaps

opacityMaps: GroupValueMap<number>[]

Defined in: adapter.ts:34


osOptions

osOptions: OpenSeadragonOptions

Defined in: adapter.ts:35


points

points: Points[]

Defined in: adapter.ts:27


projectInstanceId

projectInstanceId: string

Defined in: adapter.ts:23


shapes

shapes: Shapes[]

Defined in: adapter.ts:28


sizeMaps

sizeMaps: GroupValueMap<number>[]

Defined in: adapter.ts:31


tables

tables: Table[]

Defined in: adapter.ts:29


visibilityMaps

visibilityMaps: GroupValueMap<boolean>[]

Defined in: adapter.ts:33