Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

allLayerViews

allLayerViews: Collection<LayerView>

Collection containing a flat list of all the created LayerViews related to the basemap, operational layers, and group layers in this view.

Read more...

animation

animation: ViewAnimation

Represents an ongoing view animation initialized by goTo().

Read more...

basemapView

basemapView: BasemapView

Represents the view for a single basemap after it has been added to the map.

Read more...

container

container: HTMLDivElement

The id or node representing the DOM element containing the view.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

fatalError

fatalError: Error

A fatal error returned when the view loses its WebGL context.

Read more...

Readonly focused

focused: boolean

Indicates if the browser focus is on the view.

Read more...

graphics

graphics: Collection<Graphic>

Allows for adding graphics directly to the default graphics in the View.

Read more...

Readonly height

height: number

The height of the view in pixels read from the view container element.

Read more...

initialized

initialized: boolean

Readonly input

input: Input

Options to configure input handling of the View.

Read more...

Readonly interacting

interacting: boolean

Indication whether the view is being interacted with (for example when panning or by an interactive tool).

Read more...

layerViews

layerViews: Collection<LayerView>

A collection containing a hierarchical list of all the created LayerViews of the operational layers in the map.

Read more...

Readonly magnifier

magnifier: Magnifier

The magnifier allows for showing a portion of the view as a magnifier image on top of the view.

Read more...

map

map: Map

An instance of a Map object to display in the view.

Read more...

Readonly navigating

navigating: boolean

Indication whether the view is being navigated (for example when panning).

Read more...

navigation

navigation: Navigation

Options to configure the navigation behavior of the View.

Read more...

padding

padding: ViewPadding

Use the padding property to make the center, and extent, etc.

Read more...

popup

popup: Popup

A Popup object that displays general content or attributes from layers in the map.

Read more...

Readonly ready

ready: boolean

When true, this property indicates whether the view successfully satisfied all dependencies, signaling that the following conditions are met.

Read more...

Readonly resizing

resizing: boolean

Indicates if the view is being resized.

Read more...

Readonly resolution

resolution: number

Represents the current value of one pixel in the unit of the view's spatialReference.

Read more...

Readonly size

size: number[]

An array containing the width and height of the view in pixels, e.g.

Read more...

spatialReference

spatialReference: SpatialReference

The spatial reference of the view.

Read more...

Readonly stationary

stationary: boolean

Indication whether the view is animating, being navigated with or resizing.

Read more...

Readonly suspended

suspended: boolean

Indicates if the view is visible on the page.

Read more...

timeExtent

timeExtent: TimeExtent

The view's time extent.

Read more...

Readonly type

type: string

The type of the view is either 2d (indicating a MapView) or 3d (indicating a SceneView).

Read more...

ui

Exposes the default widgets available in the view and allows you to toggle them on and off.

Read more...

Readonly updating

updating: boolean

Indicates whether the view is being updated by additional data requests to the network, or by processing received data.

Read more...

Readonly width

width: number

The width of the view in pixels read from the view container element.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): View
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns View

destroy

  • destroy(): void
  • Destroys the view, and any associated resources, including its map, popup, and UI elements.

    Read more...

    Returns void

emit

  • emit(type: string, event?: any): boolean
  • Emits an event on the instance.

    Read more...

    Parameters

    • type: string
    • Optional event: any

    Returns boolean

focus

  • focus(): void
  • Sets the focus on the view.

    Read more...

    Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

hasEventListener

  • hasEventListener(type: string): boolean
  • Indicates whether there is an event listener on the instance that matches the provided event name.

    Read more...

    Parameters

    • type: string

    Returns boolean

isFulfilled

  • isFulfilled(): boolean
  • isFulfilled() may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).

    Read more...

    Returns boolean

isRejected

  • isRejected(): boolean
  • isRejected() may be used to verify if creating an instance of the class is rejected.

    Read more...

    Returns boolean

isResolved

  • isResolved(): boolean
  • isResolved() may be used to verify if creating an instance of the class is resolved.

    Read more...

    Returns boolean

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

on

  • Registers an event handler on the instance.

    Read more...

    Parameters

    • type: string | string[]
    • modifiersOrHandler: Function | string[]
    • Optional handler: Function

    Returns any

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

  • Parameters

    Returns IHandle

set

  • set<T>(propertyName: string, value: T): View
  • set(props: HashMap<any>): View
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns View

  • Parameters

    Returns View

tryFatalErrorRecovery

  • tryFatalErrorRecovery(): void
  • Call this method to clear any fatal errors resulting from a lost WebGL context.

    Read more...

    Returns void

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

when

  • when(callback?: Function, errback?: Function): Promise<any>
  • when() may be leveraged once an instance of the class is created.

    Read more...

    Parameters

    • Optional callback: Function
    • Optional errback: Function

    Returns Promise<any>

whenLayerView

Generated using TypeDoc