Creates a new instance of mapping/BasemapExtension!BasemapExtension.
Optionalproperties: TAn 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.
OptionaldescriptionA user defined description.
Whether this basemap should be included in a basemap picker.
OptionalisIf true, the layers in this basemap will be presented one at a time, rather that all at once.
OptionalonAn action that will be performed when the user clicks on the basemap in the basemap picker.
ReadonlytaskStaticfactoryThe factory that will be used whenever a BasemapExtension needs to be created. Applications can supply their own factory to customize BasemapExtension creation.
The layer extensions associated with each base layer of the basemap.
The Esri Basemap object being extended.
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 URL pointing to an image that represents the basemap.
The unique ID for this entity.
The item type for this entity when it participates in an App.
The parent map extension.
The layer extensions associated with each reference layer of the basemap.
Protected_createCalled to create the data/TaskSettings!TaskSettings.
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_onA callback executed when a base layer is added to the basemap after the LayerExtension has been initialized.
The base layer that was added.
Protected_onProtected_onCalled to perform initialization of the support/InitializableBase!InitializableBase. Subclasses should override this method rather than initialize() to perform custom initialization.
Protected_onA callback executed when a reference layer is added to the basemap after the LayerExtension has been initialized.
The reference layer that was added.
Protected_postProtected_toConverts the value to a PropertyDef object.
The value to convert.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
StaticcreateCreates the appropriate subclass of mapping/BasemapExtension!BasemapExtension based on the supplied properties. Applications can customize the default creation behavior by supplying a custom factory object (see mapping/BasemapExtension!BasemapExtension.factory).
Optionalproperties: BasemapExtensionPropertiesThe BasemapExtension item properties.
Extends the capabilities of an Esri Basemap object.