# Interface MapExtensionProperties

Properties that can be passed into the constructor for mapping/MapExtension!MapExtension.

interface MapExtensionProperties {
basemapExtension?: BasemapExtensionProperties | BasemapExtension<BasemapExtensionProperties>;
basemapOptions?: (BasemapExtensionProperties | BasemapExtension<BasemapExtensionProperties>)[];
bookmarks?: (Bookmark | BookmarkProperties)[];
constraints?: MapConstraintsProperties;
contextMenu?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>;
failureMode?: FailureMode;
formatSettings?: FormatSettingsProperties;
groundExtension?: GroundExtension | GroundExtensionProperties;
id?: string;
initialLayerPreset?: LayerPreset | LayerPresetProperties;
initialViewMode?: ViewMode;
layerExtensions?: (LayerExtensionProperties | LayerExtension<LayerExtensionProperties>)[];
map?: Map | MapProperties;
onClick?: Action;
onHover?: Action;
onHoverEnd?: Action;
onInitialized?: Action;
onViewpointChanged?: Action;
requestHelper?: ArcGISRequestHelper;
tableExtensions?: (TableExtensionProperties | TableExtension<TableExtensionProperties>)[];
title?: string;
webMap?: WebMapLike;
webScene?: WebSceneLike;
}

#### Hierarchy (view full)

- EntityBaseProperties
  - MapExtensionProperties

#####
Index

### Properties

basemapExtension?
basemapOptions?
bookmarks?
constraints?
contextMenu?
failureMode?
formatSettings?
groundExtension?
id?
initialLayerPreset?
initialViewMode?
layerExtensions?
map?
onClick?
onHover?
onHoverEnd?
onInitialized?
onViewpointChanged?
requestHelper?
tableExtensions?
title?
webMap?
webScene?

##
Properties

### `Optional` basemapExtension

basemapExtension?: BasemapExtensionProperties | BasemapExtension<BasemapExtensionProperties>

See mapping/MapExtension!MapExtension.basemapExtension.

### `Optional` basemapOptions

basemapOptions?: (BasemapExtensionProperties | BasemapExtension<BasemapExtensionProperties>)[]

See mapping/MapExtension!MapExtension.basemapOptions.

### `Optional` bookmarks

bookmarks?: (Bookmark | BookmarkProperties)[]

See mapping/MapExtension!MapExtension.bookmarks.

### `Optional` constraints

constraints?: MapConstraintsProperties

See mapping/MapExtension!MapExtension.constraints.

### `Optional` contextMenu

contextMenu?: MenuProperties | Menu<MenuItemProperties, MenuProperties, MenuItem<MenuItemProperties, MenuProperties>>

See mapping/MapExtension!MapExtension.contextMenu.

### `Optional` failureMode

failureMode?: FailureMode

See support/InitializableBase!InitializableBase.failureMode.

Inherited from EntityBaseProperties.failureMode

### `Optional` formatSettings

formatSettings?: FormatSettingsProperties

See mapping/MapExtension!MapExtension.formatSettings.

### `Optional` groundExtension

groundExtension?: GroundExtension | GroundExtensionProperties

See mapping/MapExtension!MapExtension.groundExtension.

### `Optional` id

id?: string

The unique ID to assign to the entity. If not specified, one will be generated.

Inherited from EntityBaseProperties.id

### `Optional` initialLayerPreset

initialLayerPreset?: LayerPreset | LayerPresetProperties

See mapping/MapExtension!MapExtension.initialLayerPreset.

### `Optional` initialViewMode

initialViewMode?: ViewMode

Sets the initial view mode. To change it after creation, use mapping/MapExtension!MapExtension.switchViewMode.

### `Optional` layerExtensions

layerExtensions?: (LayerExtensionProperties | LayerExtension<LayerExtensionProperties>)[]

See mapping/MapExtension!MapExtension.layerExtensions.

### `Optional` map

map?: Map | MapProperties

See mapping/MapExtension!MapExtension.map.

### `Optional` onClick

onClick?: Action

See mapping/MapExtension!MapExtension.onClick.

### `Optional` onHover

onHover?: Action

See mapping/MapExtension!MapExtension.onHover.

### `Optional` onHoverEnd

onHoverEnd?: Action

See mapping/MapExtension!MapExtension.onHoverEnd.

### `Optional` onInitialized

onInitialized?: Action

See mapping/MapExtension!MapExtension.onInitialized.

### `Optional` onViewpointChanged

onViewpointChanged?: Action

See mapping/MapExtension!MapExtension.onViewpointChanged.

### `Optional` requestHelper

requestHelper?: ArcGISRequestHelper

See mapping/MapExtension!MapExtension.requestHelper.

### `Optional` tableExtensions

tableExtensions?: (TableExtensionProperties | TableExtension<TableExtensionProperties>)[]

See mapping/MapExtension!MapExtension.tableExtensions.

### `Optional` title

title?: string

See mapping/MapExtension!MapExtension.title.

### `Optional` webMap

webMap?: WebMapLike

See mapping/MapExtension!MapExtension.webMap.

### `Optional` webScene

webScene?: WebSceneLike

See mapping/MapExtension!MapExtension.webScene.