PowerLayerCode

The power layers MapsGL JS ships (MapsGL JS 1.8.1 / 1.8.5).

Each has an equivalent LayerCode (LayerCode.POWER_LINES and the other power codes), so addPowerLayer matches addWeatherLayer(LayerCode.POWER_LINES, …); this enum is kept for callers that use PowerLayerCode.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

The layer id JS registers, kept identical so ids are portable between platforms.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The MapsGL product id, matching JS's weather code.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.