Creates a new instance of the entity and assigns the given properties.
Optionalproperties: LayerPresetPropertiesThe properties to set via assignProperties().
Protected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected Readonly_itemThe item type for this entity when it participates in an App.
Current basemap of a map.
Available basemap options of a map.
A human readable description of the LayerPreset.
An optional icon that can be displayed when listing the LayerPreset.
An optional url to an image that can be displayed when listing the LayerPreset.
LayerPresetSettings that can be applied to the layers of a map.
A human readable title for the LayerPreset.
Determines how a parent object should handle initialization failure in this object. The default is "warn".
"error": support/InitializeError!InitializeError is thrown."warn": Message is logged and
support/InitializableBase!InitializeWarningEvent is raised."ignore": support/InitializableBase!InitializeWarningEvent is
raised.The unique ID for this entity.
The item type for this entity when it participates in an App.
Protected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Applies this LayerPreset to a map extension or a collection of map extensions.
The map extension or collection of map extensions to apply the LayerPreset to.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
StaticcreateCreates a LayerPreset from an ESRI map or map extension.
The map or map extension to create a LayerPreset from.
A LayerPreset that can be applied to a map or a map extension.