Optionalproperties: MapExtensionPropertiesProtected_deserializedThe Promise created when the 'map' property is deserialized.
Protected_deserializedThe viewMode value deserialized from a saved project.
Protected_deserializedThe Promise created to switch viewModes when a saved project is loaded.
Protected Readonly_handlesProtected_idThe unique ID for this entity. Once set, this should never change.
Protected_isIndicates that the extension is in the process of switching maps.
Protected Readonly_itemThe item type for this entity when it participates in an App.
Protected_mapThe underlying WebMap instance created from mapping/MapExtension!MapExtension.webMap.
Protected_sceneThe underlying WebScene instance created from mapping/MapExtension!MapExtension.webScene.
ReadonlyallA flat collection of all the layers extensions in the map. This collection contains extensions for basemap layers, operational layers and ground layers. Extensions for group layers and their children are also part of this collection. This collection is read-only.
ReadonlyconstraintsConfigured constraints for the map. Note that it is the caller's responsibility to set these constraints on any MapView or SceneView instances that are created.
ReadonlyformatSettings that affect how values in this mapping/MapExtension!MapExtension are formatted.
OptionalonAn action that will be performed when the user clicks on the map.
OptionalonAn action that will be performed when the user hovers over the map.
OptionalonAn action that will be performed when the user stops hovering over the map.
OptionalonAn action that will be performed when the map initializes.
OptionalonAn action that will be performed when the viewpoint changes.
ReadonlytableThe table extensions associated with each table in the map.
Protected_spatialGets the spatial reference of the map.
The basemap extension associated with the map's basemap object.
Basemaps that are suitable for use with this map. Can be used to populate a basemap picker.
A menu for actions that can be performed with the map.
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 ground extension associated with the map's ground object.
The unique ID for this entity.
The extension for the map's initial basemap.
The layer-preset/LayerPreset!LayerPreset applied to the MapExtension on construction.
Indicates that the extension is in the process of switching maps.
The item type for this entity when it participates in an App.
The layer extensions associated with each layer of the map.
The Esri Map object being extended.
The utilities/RequestHelper!RequestHelper to use when making requests to external services. If not specified, support/ArcGISRequestHelper!ArcGISRequestHelper will be used.
A human-readable title for the map.
When present, mapping/MapExtension!MapExtension.map will be loaded from the given web map in Portal when the view mode is 2D. The web map can be specified either as a PortalItem object, or simply using the portal item ID.
The title of the web map portal item.
When present, mapping/MapExtension!MapExtension.map will be loaded from the given web scene in Portal when the view mode is 3D. The web scene can be specified either as a PortalItem object, or simply using the portal item ID.
The title of the web scene portal item.
Protected_applyInvoked when web map/web scene json needs to be applied to the Map object.
The properties to apply.
The map/scene to apply the properties to.
OptionalportalItem: PortalItemPortal item that the properties came from, if applicable.
Protected_createInvoked to create FormatSettings.
Protected_createInvoked to create a LayerExtensionCollection.
Protected_createProtected_createProtected_createInvoked to create a TableExtensionCollection.
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.
Gets a flattened list of all feature sources for the associated map.
If specified, only sources that match the given predicate will be returned.
Returns the serializable properties.
OptionalserializeMode: SerializeModeOptional. If specified, only properties that support the given serialization mode will be returned.
Determines whether this map extension supports the given view mode.
The view mode to check.
Updates the map that will load when the view mode is switched to MAP.
The web map to set.
Updates the map that will load when the view mode is switched to SCENE.
The web scene to set.
Switches the current map for a new one. This operation will reconfigure existing layer, sublayer, and table extensions to extend the equivalent ones in the new map, if possible.
The primary use case is for switching between maps that have a similar configuration, for example when going between a map and a scene with similar layers.
The new map.
Switches the map extension's view mode.
The view mode to switch to.
Extends the capabilities of an Esri Map object.