Maps API for JavaScript Developer's Guide

H.service.extension.platformData.LayerConfig

Type Definition Summary

The PDE layer configuration options

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

layerId

The ID of the data layer, see PDE API for more details.

level

The storage level of the data layer. See tileRequestsLevel at https://developer.here.com/platform-extensions/documentation/platform-data/topics/resource-layer-response.html.

rowFilter

The optional function to filter rows from a PDE tile response. It must be a pure function.

rowFilterContext

The execution context of the rowFilter. A this within rowFilter references the specified context object. For performance reasons it is recommended that this object contains only values that are necessary for the execution. Functions are not allowed.

columns

List of column names to keep for each PDE row. By default all columns are kept.

Type Definition Description

The PDE layer configuration options

Property Details

layerId: {string}

The ID of the data layer, see PDE API for more details.

For backward compatibility with older releases of the API you can pass this argument also under layer property name.

level: {number}

The storage level of the data layer. See tileRequestsLevel at https://developer.here.com/platform-extensions/documentation/platform-data/topics/resource-layer-response.html.

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

The optional function to filter rows from a PDE tile response. It must be a pure function.

rowFilterContext: {Object=} [optional]

The execution context of the rowFilter. A this within rowFilter references the specified context object. For performance reasons it is recommended that this object contains only values that are necessary for the execution. Functions are not allowed.

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

List of column names to keep for each PDE row. By default all columns are kept.