arlas-wui-toolkit / Exports / ArlasAoiService

Class: ArlasAoiService

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ArlasAoiService(arlasStartupService)

Parameters

Name Type
arlasStartupService ArlasStartupService

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:32

Properties

aoiMap

aoiMap: Map<string, Aoi>

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:30


dataBase

dataBase: AoiDatabase

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:29

Methods

addAoi

addAoi(name, geometry): void

Parameters

Name Type
name string
geometry any

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:39


getAoiById

getAoiById(id): Aoi

Parameters

Name Type
id string

Returns

Aoi

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:50


removeAoi

removeAoi(id): void

Parameters

Name Type
id string

Returns

void

Defined in

projects/arlas-toolkit/src/lib/services/aoi/aoi.service.ts:45