Maps API for JavaScript Developer's Guide

H.ui.MapSettingsControl.Entry

Type Definition Summary

This object describes an entry of the map settings control. label is used as a translation key for finding the translated label from the UI's H.ui.i18n.Localization object. If such text is not found the label is used as is.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

label

A label which describes the layer.

layer

A reference to the layer to show on the map. When it is not specified entry is rendered as disabled.

Type Definition Description

This object describes an entry of the map settings control. label is used as a translation key for finding the translated label from the UI's H.ui.i18n.Localization object. If such text is not found the label is used as is.

See H.ui.UI#getLocalization and H.ui.i18n.Localization#getKeys methods for available translation keys.

Property Details

label: {string}

A label which describes the layer.

layer: {(H.map.layer.Layer | undefined)}

A reference to the layer to show on the map. When it is not specified entry is rendered as disabled.