Creates a new instance of mapping/_LayerExtension!LayerExtension.
Optionalproperties: ImageryLayerExtensionPropertiesAn object containing initial property values to set.
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.
ReadonlyallAll descendant sublayer extensions associated with this layer.
OptionaliconURL to an icon that represents this feature source.
Whether catalog item features will be returned during an identify operation.
ReadonlylayerSettings that affect the behavior and presentation of the layer in the layer list.
OptionalonThe action to be executed when a feature is added.
OptionalonThe action to be executed when a feature is edited.
OptionalqueryAn optional query service that the feature source can use to get features.
An optional remote source for a .tpk, .tpkx or .vtpk file. May be a portal item URL or a portal item ID. Mobile Only.
StaticfactoryThe factory that will be used whenever a new layer extension needs to be created. Applications can supply their own factory to customize layer extension creation.
The parent basemap extension if the extended layer is a layer in a basemap.
Determines whether the type of layer being extended supports changing its definition expression.
Determines whether the type of layer being extended supports changing labels. Default is false.
Determines whether the type of layer being extended supports changing opacity.
Determines whether the type of layer being extended supports changing its renderer.
Determines whether the type of layer being extended supports changing Scale.
Capabilities of the feature source.
Indicates that the layer was added dynamically.
The effective full extent of this layer extension.
The effective max scale for this layer extension.
The effective min scale for this layer extension.
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.A menu for actions specifically related to features from this source.
A menu for actions specifically related to features from this source.
Default settings that apply to features originating from this source.
A menu for actions specifically related to this source.
A menu for actions specifically related to this source.
The parent ground extension if the extended layer is an elevation layer in a ground object.
Determines whether this type of layer is capable of producing features.
Whether image service has an attribute table endpoint.
The unique ID for this entity.
String value containing the initial definition expression configured on the layer.
A clone of the initial renderer, if any, that the ESRI layer uses to display data on the map.
Indicates the initial layer visibility.
The effective visibility for this layer extension.
The item type for this entity when it participates in an App.
The Esri Layer object being extended.
The parent map extension.
The parent layer extension if the extended layer is in a group layer.
Relationships to other feature sources.
The renderer, if any, that the ESRI layer uses to display data on the map.
The utilities/RequestHelper!RequestHelper to use when making requests to external services. If not specified, a default implementation will be used.
The sublayer extensions associated with each sublayer of this layer.
Determines whether the type of layer being extended has a readonly sublayer collection.
Determines whether this type of layer is capable of having sublayers.
Settings that affect whether a feature source participates in various tasks that are performed on a map.
Indicates how to manage the visibility of the children layers or sublayers.
Protected_addCalled to add an attachment to a feature. Subclasses must override this if they support feature attachments.
The feature to add the attachment to.
The attachment to add to the feature.
Protected_addCalled to add new features. Subclasses must override this if they support adding features.
The features to add.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the feature is saved.
Protected_applyCalled to apply layer properties to a layer.
The layer properties to apply.
The layer to apply properties to.
Protected_applyProtected_capabilitiesThe capabilities of the feature source.
Protected_createCalled to create the data/FeatureSettings!FeatureSettings for this feature source.
Protected_createProtected_createCalled to create an Esri layer from layer properties.
The initial layer properties to apply.
Protected_createCalled to create the mapping/support/LayerListSettings!LayerListSettings for this layer extension.
Optionalproperties: LayerListSettingsPropertiesInitial properties for the layer list settings.
Protected_createCalled to create the data/_Relationship!Relationship collection for this feature source.
Protected_createCalled to create the data/Schema!Schema for this feature source.
Protected_createCalled to create a child sublayer extension. Must be overridden by layer extensions that support sublayers.
Optionalproperties: SublayerExtensionPropertiesProperties used to initialize the sublayer extension.
Protected_createCalled to create the mapping/support/_SublayerExtensionCollection!SublayerExtensionCollection for this layer extension.
Protected_createCalled to create the data/TaskSettings!TaskSettings for this feature source.
Protected_deleteCalled to remove attachments from a feature. Subclasses must override this if they support feature attachments.
The feature to delete attachments from.
The attachments or the IDs of the attachments to delete.
Protected_deleteCalled to delete features. Subclasses must override this if they support deleting features.
The IDs of the features to delete.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are deleted.
Protected_getCalled to retrieve attachments for a feature. Subclasses must override this if they support feature attachments.
The feature to get attachments for.
Protected_getCalled to retrieve features. Subclasses must override this if they support querying for features.
The unique IDs of features to retrieve.
Optionaloptions: FeatureReadOptionsOptions that control what gets returned.
Protected_getProtected_getThe property keys and their metadata that are used to implement serializing and deserializing the class instance.
Protected_getProtected_initializableCollections of child items to initialize. Items that fail to initialize are removed from the collection.
Protected_initializeProtected_initializeProtected_isProtected_isProtected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected Readonly_onA callback executed when a sublayer is added as a child of the LayerExtension, after the LayerExtension has been initialized.
The sublayer that was added.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Protected_updateCalled to update features. Subclasses must override this if they support updating features.
The feature to update.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the feature is saved.
Adds an attachment to a feature.
The feature to add the attachment to.
The attachment to add to the feature.
Adds a new feature to the source. If the source does not support adding features, then an InvalidOperationError will be thrown (see capabilities).
The feature to add.
Optional_options: FeatureWriteOptionsAdditional options that control how the feature is saved.
Adds a set of features to the source. If the source does not support adding features, then an InvalidOperationError will be thrown (see capabilities).
The features to add.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are saved.
Deletes attachments from a feature.
The feature to delete attachments from.
The attachments or the IDs of the attachments to delete from the feature.
Deletes a feature from its source. If the source does not support deleting features, then an InvalidOperationError will be thrown (see capabilities).
The ID of the feature to delete.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are deleted.
Deletes a feature from its source. If the source does not support deleting features, then an InvalidOperationError will be thrown (see capabilities).
The feature to delete.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are deleted.
Deletes features from their source. If the source does not support deleting features, then an InvalidOperationError will be thrown (see capabilities).
The IDs of the features to delete.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are deleted.
Deletes features from their source. If the source does not support deleting features, then an InvalidOperationError will be thrown (see capabilities).
The features to delete.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are deleted.
Gets any attachments associated with a feature.
The feature to get attachments for.
Gets a feature by ID. If no such feature exists, the promise is rejected with an instance of NotFoundError.
The ID of the feature to retrieve.
Optionaloptions: FeatureReadOptionsAdditional options that control how the feature is retrieved.
Gets a set of features by their IDs.
The IDs of the features to retrieve.
Optionaloptions: FeatureReadOptionsAdditional Options that control how the features are retrieved.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
Saves changes to an existing feature. If the source does not support updating features, then an InvalidOperationError will be thrown (see capabilities).
The feature to update.
Optional_options: FeatureWriteOptionsAdditional options that control how the feature is saved.
Saves changes to a existing features. If the source does not support updating features, then an InvalidOperationError will be thrown (see capabilities).
The features to update.
Optionaloptions: FeatureWriteOptionsAdditional options that control how the features are saved.
StaticcreateCreates the appropriate subclass of mapping/_LayerExtension!LayerExtension based on the supplied properties. Applications can customize the default creation behavior by supplying a custom factory object (see mapping/_LayerExtension!LayerExtension.factory).
The layer extension properties.
StaticfromCreates the appropriate subclass of mapping/_LayerExtension!LayerExtension based on the type of the supplied portal item.
The portal item that determines the subclass to create.
OptionallayerExtensionProperties: Partial<LayerExtensionProperties>The properties used to create the subclass.
Extends the capabilities of an Esri ImageServiceLayer object.