arlas-web-components / Exports / WmtsLayerManagerComponent

Class: WmtsLayerManagerComponent

Implements

  • OnInit
  • OnChanges

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new WmtsLayerManagerComponent(dialog, http)

Parameters

Name Type
dialog MatDialog
http HttpClient

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:195

Properties

dateFormat

dateFormat: string = 'YYYY-MM-DDT00:00:00'

Input

: Angular

Description

String date Format for time input

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:174


dialog

dialog: MatDialog

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:195


dialogRef

dialogRef: MatDialogRef<WmtsLayerManagertDialogComponent, any>

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:134


errorInRun

errorInRun: boolean = false

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:192


format

format: string

Input

: Angular

Description

Format of getTile response If getCapabilities does not contains this format, we send an error

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:164


getCapaUrl

getCapaUrl: string

Input

: Angular

Description

Url to access getCapabilities endpoint of WMTS service

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:139


getTilesBaseUrl

getTilesBaseUrl: string

Input

: Angular

Description

Base url to access getTiles endpoint of WMTS service If this input is provided, we use it to build getTiles endpoint If this input is not provided, we try to find it in getCapabilities response

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:151


getTilesInfoBus

getTilesInfoBus: Subject<GetTilesInfo>

Output

: Angular

Description

Emit the information needed by a wmts client to view a product

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:185


isGetCapaLoading

isGetCapaLoading: boolean = false

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:193


metadata

metadata: Map<string, string>

Input

: Angular

Description

Metadata of product to display (optional)

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:144


onError

onError: Subject<Error>

Output

: Angular

Description

Emit all errors of the component

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:190


supportedCRSCode

supportedCRSCode: string[]

Input

: Angular

Description

Supported CRS code of WMTS service

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:169


tileMatrixSetIdenttifier

tileMatrixSetIdenttifier: string

Input

: Angular

Description

Value to use in TileMatrixSet If this input is provided, we use it and we dont search TileMatrixSet in getCapabilities

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:180


version

version: string

Input

: Angular

Description

Version of WMTS service If this input is provided, we use it to build getTiles endpoint If this input is not provided, we try to find it in getCapabilities response

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:158

Methods

buildGetTileInfo

buildGetTileInfo(xmlDoc, layer, style, md, dimensions?): GetTilesInfo

Parameters

Name Type
xmlDoc Document
layer string
style string
md Object
dimensions? Object

Returns

GetTilesInfo

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:465


buildGetTileUrl

buildGetTileUrl(xmlDoc, layer, style, dimensions?): string

Parameters

Name Type
xmlDoc Document
layer string
style string
dimensions? Object

Returns

string

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:435


geLayerToData

geLayerToData(xmlDoc): Map<string, LayerParam>

Parameters

Name Type
xmlDoc Document

Returns

Map<string, LayerParam>

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:276


getBbox

getBbox(xmlDoc, layer): number[]

Parameters

Name Type
xmlDoc Document
layer string

Returns

number[]

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:400


getDimension

getDimension(layerElement): Dimension[]

Parameters

Name Type
layerElement Element

Returns

Dimension[]

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:292


getDimensionsFromGroupValues

getDimensionsFromGroupValues(formGroup): Object

Parameters

Name Type
formGroup any

Returns

Object

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:476


getFormat

getFormat(xmlDoc, layer): string

Parameters

Name Type
xmlDoc Document
layer string

Returns

string

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:321


getKVPBaseUrl

getKVPBaseUrl(xmlDoc): string

Parameters

Name Type
xmlDoc Document

Returns

string

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:353


getTileMatrixSet

getTileMatrixSet(xmlDoc, layer): string

Parameters

Name Type
xmlDoc Document
layer string

Returns

string

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:374


getVersion

getVersion(xmlDoc): string

Parameters

Name Type
xmlDoc any

Returns

string

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:341


getZoomMinMax

getZoomMinMax(xmlDoc): number[]

Parameters

Name Type
xmlDoc Document

Returns

number[]

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:423


ngOnChanges

ngOnChanges(changes): void

Parameters

Name Type
changes SimpleChanges

Returns

void

Implementation of

OnChanges.ngOnChanges

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:202


ngOnInit

ngOnInit(): void

Returns

void

Implementation of

OnInit.ngOnInit

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:199


run

run(header?, md?, timeoutDuration?, numberOfRetry?): void

Parameters

Name Type Default value
header? HttpHeaders undefined
md Object {}
timeoutDuration number 100000
numberOfRetry number 0

Returns

void

Defined in

projects/arlas-components/src/lib/components/wmts-layer-manager/wmts-layer-manager.component.ts:209