arlas-wui-toolkit > "src/app/services/aoi/aoi.service" > ArlasAoiService

Class: ArlasAoiService

Hierarchy

ArlasAoiService

Index

Constructors

Properties

Methods


Constructors

constructor

new ArlasAoiService(arlasStartupService: ArlasStartupService): ArlasAoiService

Defined in src/app/services/aoi/aoi.service.ts:30

Parameters:

Name Type
arlasStartupService ArlasStartupService

Returns: ArlasAoiService


Properties

aoiMap

● aoiMap: Map<string, Aoi> = new Map()

Defined in src/app/services/aoi/aoi.service.ts:30


dataBase

● dataBase: AoiDatabase

Defined in src/app/services/aoi/aoi.service.ts:29


Methods

addAoi

addAoi(name: string, geometry: any): void

Defined in src/app/services/aoi/aoi.service.ts:39

Parameters:

Name Type
name string
geometry any

Returns: void


getAoiById

getAoiById(id: string): Aoi

Defined in src/app/services/aoi/aoi.service.ts:50

Parameters:

Name Type
id string

Returns: Aoi


removeAoi

removeAoi(id: string): void

Defined in src/app/services/aoi/aoi.service.ts:45

Parameters:

Name Type
id string

Returns: void