Maps API for JavaScript Developer's Guide

H.service.extension.customLocation.LayerConfig

Type Definition Summary

A LayerConfig is an object that contains a configuration for a CLE data layer.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

layerId

The unique ID of the layer. See CLE documentation for more details

rowFilter

An optional function to filter out rows from the CLE tile response. If defined, it must be a pure function.

rowFilterContext

The JavaScript execution context of the rowFilter function. The this within the rowFilter will be the specified object. For performance reasons it is recommended that this object contains only the necessary information. Functions are not allowed.

columns

An optional list of column names to keep for each CLE row. By default all columns are kept.

Type Definition Description

A LayerConfig is an object that contains a configuration for a CLE data layer.

Property Details

layerId: {string}

The unique ID of the layer. See CLE documentation for more details

rowFilter: {H.service.extension.RowFilter=} [optional]

An optional function to filter out rows from the CLE tile response. If defined, it must be a pure function.

rowFilterContext: {Object=} [optional]

The JavaScript execution context of the rowFilter function. The this within the rowFilter will be the specified object. For performance reasons it is recommended that this object contains only the necessary information. Functions are not allowed.

columns: {Array<string>=} [optional]

An optional list of column names to keep for each CLE row. By default all columns are kept.