Optionalproperties: LayerPresetSettingPropertiesOptionalchildrenControls whether sublayers are included or hidden in the layer list.
OptionaldefinitionDefinitionExpression of the layer.
OptionalexpandedWhether the layer is expanded in the layer list.
OptionalincludedControls whether this layer should be included in the layer list.
OptionalmaxIf set, overrides the maximum scale of the layer or sublayer when the preset is applied. No effect if the type of layer or sublayer does not allow changing scale.
OptionalminIf set, overrides the minimum scale of the layer or sublayer when the preset is applied. No effect if the type of layer or sublayer does not allow changing scale.
OptionalopacityIf set, overrides the opacity of the layer or sublayer when the preset is applied. No effect if the type of layer or sublayer does not allow changing opacity.
LayerPresetSetting that can be applied to the sublayers of the layer this LayerPreset is applied to.
OptionalvisibleVisibility of the layer.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_toConverts the value to a PropertyDef object.
The value to convert.
Sets the properties for this item.
A plain object containing property values to set, keyed by property name.
Sets the properties for this item.
This version will also await any asynchronous logic that is needed to set the properties.
A plain object containing property values to set, keyed by property name.
Gets the default value of an object's property.
The property of the object for which to get the default value.
Gets the object's default property values.
Returns the serializable properties.
Optional. If specified, only properties that support the given serialization mode will be returned.
Returns a serializable representation of the item.
If specified, only properties that are appropriate for the given mode are returned. Otherwise, all properties will be serialized.
Layer preset settings for an individual layer or sublayer.