Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseLayerViewGL2D

Hierarchy

Index

Properties

context

context: any

The WebGL rendering context associated to this layer view.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

Readonly layer

layer: Layer

The layer being viewed.

Read more...

Readonly suspended

suspended: boolean

Value is true if the layer is suspended (i.e., layer will not redraw or update itself when the extent changes).

Read more...

tiles

The array of module:esri/views/2d/layers/BaseLayerViewGL2D#Tile objects computed to cover the MapView's visible area.

Read more...

Readonly updating

updating: boolean

Value is true when the layer is updating; for example, if it is in the process of fetching data.

Read more...

view

view: MapView

References the MapView this LayerView belongs to.

Read more...

visible

visible: boolean

When true, the layer is visible in the view.

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

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns BaseLayerViewGL2D

attach

  • attach(): void
  • Method called after the LayerView is created and right before it starts drawing the layer's content.

    Read more...

    Returns void

bindRenderTarget

  • bindRenderTarget(): void
  • Bind the designated rendering output surface and restore the correct viewport.

    Read more...

    Returns void

destroy

  • destroy(): void
  • Returns void

detach

  • detach(): void
  • Method called after the layer is removed and the LayerView is about to be removed.

    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

getRenderTarget

  • Get the designated rendering output surface and corresponding viewport configuration.

    Read more...

    Returns RenderTarget

hitTest

  • hitTest(x: number, y: number): Promise<Graphic>
  • Method to implement that is responsible for providing objects hit at the specified screen coordinates.

    Read more...

    Parameters

    • x: number
    • y: number

    Returns Promise<Graphic>

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

render

  • The method to implement that is responsible of drawing the content of the layer.

    Read more...

    Parameters

    Returns void

requestRender

  • requestRender(): void
  • The LayerView can call this method to ask the MapView to schedule a new rendering frame.

    Read more...

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns BaseLayerViewGL2D

  • Parameters

    Returns BaseLayerViewGL2D

tessellateExtent

  • Tessellate an Extent into a rectangle.

    Read more...

    Parameters

    Returns Promise<TessellatedMesh>

tessellateMultipoint

tessellatePoint

  • Tessellate a Point into a quad (marker).

    Read more...

    Parameters

    Returns Promise<TessellatedMesh>

tessellatePolygon

  • Tessellate a Polygon into triangles.

    Read more...

    Parameters

    Returns Promise<TessellatedMesh>

tessellatePolyline

  • Tessellate a Polyline into triangles.

    Read more...

    Parameters

    Returns Promise<TessellatedMesh>

tilesChanged

  • Method to implement, which notifies of tiles being added or removed for the current view state.

    Read more...

    Parameters

    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>

Generated using TypeDoc