Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapLayerView

Hierarchy

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

anchor

appView

bounds

canvas

  • get canvas(): HTMLCanvasElement

canvasView

childViews

  • get childViews(): ReadonlyArray<View>

clientBounds

  • get clientBounds(): BoxR2

clientTransform

culled

  • get culled(): boolean

dirty

  • get dirty(): boolean

hitBounds

  • get hitBounds(): BoxR2 | null

hover

  • get hover(): boolean

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

pixelRatio

  • get pixelRatio(): number

popoverBounds

  • get popoverBounds(): BoxR2

projection

viewController

viewObservers

zoom

  • get zoom(): number

Methods

addViewObserver

animate

  • animate(): void

append

appendChildView

  • appendChildView(childView: View): void

cascadeAnimate

  • cascadeAnimate(frame: number): void

cascadeCull

  • cascadeCull(): void

cascadeLayout

  • cascadeLayout(): void

cascadeMount

  • cascadeMount(): void

cascadeRender

cascadeResize

  • cascadeResize(): void

cascadeScroll

  • cascadeScroll(): void

cascadeUnmount

  • cascadeUnmount(): void

Protected copyLayerImage

Protected createCanvas

  • createCanvas(): HTMLCanvasElement

Protected didAddViewObserver

Protected didAnimate

  • didAnimate(t: number): void

Protected didCull

  • didCull(): void

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: View | null | undefined): void

Protected didLayout

  • didLayout(): void

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: function): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didRender

Protected didResize

  • didResize(): void

Protected didScroll

  • didScroll(): void

Protected didSetAnchor

Protected didSetBounds

  • didSetBounds(newBounds: BoxR2, oldBounds: BoxR2): void

Protected didSetCulled

  • didSetCulled(culled: boolean): void

Protected didSetDirty

  • didSetDirty(dirty: boolean): void

Protected didSetHidden

  • didSetHidden(hidden: boolean): void

Protected didSetKey

  • didSetKey(key: string | null): void

Protected didSetParentView

  • didSetParentView(parentView: View | null): void

Protected didSetProjection

Protected didSetViewController

Protected didSetZoom

  • didSetZoom(newZoom: number, oldZoom: number): void

Protected didUnmount

  • didUnmount(): void

dispatchEvent

getChildView

  • getChildView(key: string): View | null

getContext

hitTest

insert

insertChildView

  • insertChildView(childView: View, targetView: View | null): void

isMounted

  • isMounted(): boolean

isVisible

  • isVisible(): boolean

key

  • key(): string | null
  • key(key: string | null): this

off

  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

on

  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onAnimate

  • onAnimate(t: number): void

Protected onCull

  • onCull(): void

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: View | null): void

Protected onLayout

  • onLayout(): void

Protected onMount

  • onMount(): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemoveViewObserver

Protected onRender

Protected onResize

  • onResize(): void

Protected onScroll

  • onScroll(): void

Protected onSetAnchor

Protected onSetBounds

  • onSetBounds(newBounds: BoxR2, oldBounds: BoxR2): void

Protected onSetCulled

  • onSetCulled(culled: boolean): void

Protected onSetHidden

  • onSetHidden(hidden: boolean): void

Protected onSetKey

  • onSetKey(key: string | null): void

Protected onSetParentView

  • onSetParentView(parentView: View | null): void

Protected onSetProjection

Protected onSetViewController

Protected onSetZoom

  • onSetZoom(newZoom: number, oldZoom: number): void

Protected onUnmount

  • onUnmount(): void

prepend

prependChildView

  • prependChildView(childView: View): void

project

Protected projectGeometry

  • projectGeometry(): void

remove

  • remove(): void

removeAll

  • removeAll(): void

removeChildView

  • removeChildView(childView: View): void

removeViewObserver

Protected resizeCanvas

  • resizeCanvas(node: HTMLCanvasElement, bounds: BoxR2): void

setAnchor

setBounds

  • setBounds(bounds: BoxR2): void

setChildView

  • setChildView(key: string, newChildView: View | null): View | null

Protected setChildViewAnchor

Protected setChildViewBounds

Protected setChildViewCulled

  • setChildViewCulled(childView: RenderView, culled: boolean): void

Protected setChildViewProjection

Protected setChildViewZoom

  • setChildViewZoom(childView: MapView, zoom: number): void

setCulled

  • setCulled(culled: boolean): void

setDirty

  • setDirty(dirty: boolean): void

setHidden

  • setHidden(hidden: boolean): void

setParentView

  • setParentView(parentView: View | null): void

setProjection

setViewController

setZoom

  • setZoom(zoom: number): void

unproject

Protected willAddViewObserver

Protected willAnimate

  • willAnimate(frame: number): void

Protected willCull

  • willCull(): void

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: View | null | undefined): void

Protected willLayout

  • willLayout(): void

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: function): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willRender

Protected willResize

  • willResize(): void

Protected willScroll

  • willScroll(): void

Protected willSetAnchor

Protected willSetBounds

Protected willSetCulled

  • willSetCulled(culled: boolean): boolean | void

Protected willSetHidden

  • willSetHidden(hidden: boolean): boolean | void

Protected willSetKey

  • willSetKey(key: string | null): void

Protected willSetParentView

  • willSetParentView(parentView: View | null): void

Protected willSetProjection

Protected willSetViewController

Protected willSetZoom

  • willSetZoom(zoom: number): void

Protected willUnmount

  • willUnmount(): void

Static create

Static fromNode