ui.Map.Layer.setName

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.