arlas-web-components > "components/wmts-layer-manager/wmts-layer-manager.component" > WmtsLayerManagerComponent

Class: WmtsLayerManagerComponent

Hierarchy

WmtsLayerManagerComponent

Implements

  • OnInit
  • OnChanges

Index

Constructors

Properties

Methods


Constructors

constructor

new WmtsLayerManagerComponent(dialog: MatDialog, http: HttpClient): WmtsLayerManagerComponent

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:194

Parameters:

Name Type
dialog MatDialog
http HttpClient

Returns: WmtsLayerManagerComponent


Properties

crsCode

● crsCode: string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:181

input: : Angular

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


dateFormat

● dateFormat: string = "YYYY-MM-DDT00:00:00"

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:175

input: : Angular

description: String date Format for time input


dialog

● dialog: MatDialog

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:196


dialogRef

● dialogRef: MatDialogRef<WmtsLayerManagertDialogComponent>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:135


errorInRun

● errorInRun: boolean = false

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:193


format

● format: string = "image/png"

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:165

input: : Angular

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


getCapaUrl

● getCapaUrl: string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:140

input: : Angular

description: Url to access getCapabilities endpoint of WMTS service


getTilesBaseUrl

● getTilesBaseUrl: string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:152

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


getTilesInfoBus

● getTilesInfoBus: Subject<GetTilesInfo> = new Subject()

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:186

output: : Angular

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


isGetCapaLoading

● isGetCapaLoading: boolean = false

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:194


metadata

● metadata: Map<string, string>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:145

input: : Angular

description: Metadata of product to display (optional)


onError

● onError: Subject<Error> = new Subject()

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:191

output: : Angular

description: Emit all errors of the component


supportedCRSCode

● supportedCRSCode: string = "3857"

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:170

input: : Angular

description: Supported CRS code of WMTS service


version

● version: string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:159

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


Methods

buildGetTileInfo

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

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:445

Parameters:

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

Returns: GetTilesInfo


buildGetTileUrl

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

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:415

Parameters:

Name Type
xmlDoc Document
layer string
style string
Optional dimensions Object

Returns: string


geLayerToData

geLayerToData(xmlDoc: Document): Map<string, LayerParam>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:279

Parameters:

Name Type
xmlDoc Document

Returns: Map<string, LayerParam>


getBbox

getBbox(xmlDoc: Document, layer: string): Array<number>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:380

Parameters:

Name Type
xmlDoc Document
layer string

Returns: Array<number>


getDimension

getDimension(layerElement: Element): Array<Dimension>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:295

Parameters:

Name Type
layerElement Element

Returns: Array<Dimension>


getDimensionsFromGroupValues

getDimensionsFromGroupValues(formGroup: any): Object

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:456

Parameters:

Name Type
formGroup any

Returns: Object


getFormat

getFormat(xmlDoc: Document, layer: string): string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:319

Parameters:

Name Type
xmlDoc Document
layer string

Returns: string


getKVPBaseUrl

getKVPBaseUrl(xmlDoc: Document): string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:345

Parameters:

Name Type
xmlDoc Document

Returns: string


getTileMatrixSet

getTileMatrixSet(xmlDoc: Document): string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:366

Parameters:

Name Type
xmlDoc Document

Returns: string


getVersion

getVersion(xmlDoc: any): string

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:333

Parameters:

Name Type
xmlDoc any

Returns: string


getZoomMinMax

getZoomMinMax(xmlDoc: Document): Array<number>

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:403

Parameters:

Name Type
xmlDoc Document

Returns: Array<number>


ngOnChanges

ngOnChanges(changes: SimpleChanges): void

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:203

Parameters:

Name Type
changes SimpleChanges

Returns: void


ngOnInit

ngOnInit(): void

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:200

Returns: void


run

run(header?: HttpHeaders, md?: object, timeoutDuration?: number, numberOfRetry?: number): void

Defined in components/wmts-layer-manager/wmts-layer-manager.component.ts:210

Parameters:

Name Type Default value
Optional header HttpHeaders -
Default value md object {}
Default value timeoutDuration number 100000
Default value numberOfRetry number 0

Returns: void