ui.Map.Layer.setName

Stay organized with collections Save and categorize content based on your preferences.

Sets the name of the layer.

Returns this map layer.

UsageReturns
Layer.setName(name)ui.Map.AbstractLayer
ArgumentTypeDetails
this: ui.map.abstractlayerui.Map.AbstractLayerThe ui.Map.AbstractLayer instance.
nameString, optionalThe name of the layer.