id property

String get id

The unique identifying string for the layer, as specified in a map or scene.

Other parts of the API use the ID to reference a specific Layer, such as in a set of FeatureFenceParameters or a FacilityLayerDefinition. If not provided, a unique ID is automatically assigned to each Layer upon creation. When changing the ID, ensure the value remains unique so the Layer can be reliably located by ID.

set id (String value)