Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapComponent

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly canvas

Readonly childComponentMap

childComponentMap: null | {}

Readonly childComponents

childComponents: readonly Component[]

Readonly componentFasteners

componentFasteners: null | {}

Readonly componentFlags

componentFlags: number

Readonly componentModels

componentModels: null | {}

Readonly componentObservers

componentObservers: readonly MapComponentObserver<MapComponent>[]

Readonly componentProperties

componentProperties: null | {}

Readonly componentServices

componentServices: null | {}

Readonly componentTraits

componentTraits: null | {}

Readonly componentViewTraits

componentViewTraits: null | {}

Readonly componentViews

componentViews: null | {}

Readonly container

container: ComponentView<MapComponent, HtmlView, never>

Readonly executeService

executeService: ExecuteService<MapComponent>

Readonly geoTiming

geoTiming: ComponentProperty<MapComponent, undefined | boolean | Timing, AnyTiming>

Readonly historyService

historyService: HistoryService<MapComponent>

Readonly key

key: undefined | string

Readonly layerFasteners

layerFasteners: readonly ComponentFastener<MapComponent, GeoComponent, never>[]

Readonly map

Readonly parentComponent

parentComponent: null | Component

Readonly storageService

storageService: StorageService<MapComponent>

Static CanvasFastener

CanvasFastener: ComponentViewConstructor<MapComponent, CanvasView, never, {}>

Static ContainerFastener

ContainerFastener: ComponentViewConstructor<MapComponent, HtmlView, never, {}>

Static Readonly Extrinsic

Extrinsic: number = 1

Static Readonly Intrinsic

Intrinsic: number = 0

Static LayerFastener

Static MapFastener

Static Readonly NeedsAssemble

NeedsAssemble: number = ...

Static Readonly NeedsCompile

NeedsCompile: number = ...

Static Readonly NeedsCompute

NeedsCompute: number = ...

Static Readonly NeedsExecute

NeedsExecute: number = ...

Static Readonly NeedsGenerate

NeedsGenerate: number = ...

Static Readonly NeedsResolve

NeedsResolve: number = ...

Static Readonly NeedsRevise

NeedsRevise: number = ...

Static Readonly insertChildFlags

insertChildFlags: number = 0

Static Readonly mountFlags

mountFlags: number = 0

Static Readonly powerFlags

powerFlags: number = 0

Static Readonly removeChildFlags

removeChildFlags: number = 0

Accessors

childComponentCount

  • get childComponentCount(): number
  • Returns number

componentContext

insertChildFlags

  • get insertChildFlags(): number

mountFlags

  • get mountFlags(): number

powerFlags

  • get powerFlags(): number

removeChildFlags

  • get removeChildFlags(): number

superComponentContext

Methods

addComponentObserver

appendChildComponent

  • appendChildComponent(childComponent: Component, key?: string): void

Protected attachCanvasView

  • Parameters

    Returns void

Protected attachContainerView

  • attachContainerView(containerView: HtmlView): void
  • Parameters

    Returns void

Protected attachLayer

Protected attachLayerTrait

Protected attachLayerView

Protected attachMapTrait

  • attachMapTrait(mapTrait: MapTrait): void
  • Parameters

    Returns void

Protected attachMapView

  • attachMapView(mapView: MapView): void
  • Parameters

    Returns void

Protected attachParentComponent

  • attachParentComponent(parentComponent: Component): void

cascadeCompile

  • cascadeCompile(compileFlags: number, componentContext: ComponentContext): void

cascadeExecute

  • cascadeExecute(executeFlags: number, componentContext: ComponentContext): void

cascadeInsert

  • cascadeInsert(updateFlags?: number, componentContext?: ComponentContext): void
  • Parameters

    Returns void

cascadeMount

  • cascadeMount(): void
  • Returns void

cascadePower

  • cascadePower(): void
  • Returns void

cascadeUnmount

  • cascadeUnmount(): void

cascadeUnpower

  • cascadeUnpower(): void

Protected compileChildComponents

  • compileChildComponents(compileFlags: number, componentContext: ComponentContext, compileChildComponent: (childComponent: Component, compileFlags: number, componentContext: ComponentContext) => void): void

Protected createLayer

  • Parameters

    Returns null | GeoComponent

Protected createLayerFastener

Protected createLayerView

  • Parameters

    Returns null | GeoView

Protected Abstract createMapView

  • Parameters

    Returns MapView

Protected detachCanvasView

  • Parameters

    Returns void

Protected detachContainerView

  • detachContainerView(containerView: HtmlView): void
  • Parameters

    Returns void

Protected detachLayer

Protected detachLayerTrait

Protected detachLayerView

Protected detachMapTrait

  • detachMapTrait(mapTrait: MapTrait): void
  • Parameters

    Returns void

Protected detachMapView

  • detachMapView(mapView: MapView): void
  • Parameters

    Returns void

Protected detachParentComponent

  • detachParentComponent(parentComponent: Component): void

Protected detectLayerComponent

  • Parameters

    Returns null | GeoComponent

Protected didAddComponentObserver

Protected didAssemble

Protected didCompile

Protected didCompileChildComponent

Protected didCompileChildComponents

  • didCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected didCompute

Protected didExecute

Protected didExecuteChildComponent

Protected didExecuteChildComponents

  • didExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected didGenerate

Protected didInsertChildComponent

  • didInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected didMount

  • didMount(): void

Protected didObserve

Protected didPower

  • didPower(): void

Protected didRemoveChildComponent

  • didRemoveChildComponent(childComponent: Component): void

Protected didRemoveComponentObserver

Protected didRequestUpdate

  • didRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected didRequireUpdate

  • didRequireUpdate(updateFlags: number, immediate: boolean): void

Protected didResolve

Protected didRevise

Protected didSetCanvasView

  • Parameters

    Returns void

Protected didSetContainerView

  • didSetContainerView(newContainerView: null | HtmlView, oldContainerView: null | HtmlView): void
  • Parameters

    Returns void

Protected didSetGeoViewport

  • Parameters

    Returns void

Protected didSetLayer

Protected didSetLayerGeoBounds

Protected didSetLayerTrait

Protected didSetLayerView

Protected didSetMapTrait

  • didSetMapTrait(newMapTrait: null | MapTrait, oldMapTrait: null | MapTrait): void
  • Parameters

    Returns void

Protected didSetMapView

  • didSetMapView(newMapView: null | MapView, oldMapView: null | MapView): void
  • Parameters

    Returns void

Protected didSetParentComponent

  • didSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected didUnmount

  • didUnmount(): void

Protected didUnpower

  • didUnpower(): void

Protected doCompile

  • Parameters

    Returns void

Protected doExecute

  • Parameters

    Returns void

Protected doMountChildComponents

  • doMountChildComponents(): void

Protected doPowerChildComponents

  • doPowerChildComponents(): void

Protected doUnmountChildComponents

  • doUnmountChildComponents(): void

Protected doUnpowerChildComponents

  • doUnpowerChildComponents(): void

Protected executeChildComponents

  • executeChildComponents(executeFlags: number, componentContext: ComponentContext, executeChildComponent: (childComponent: Component, executeFlags: number, componentContext: ComponentContext) => void): void

firstChildComponent

forEachChildComponent

  • forEachChildComponent<T>(callback: (childComponent: Component) => void | T): undefined | T
  • forEachChildComponent<T, S>(callback: (childComponent: Component) => void | T, thisArg: S): undefined | T
  • Type parameters

    • T

    Parameters

    • callback: (childComponent: Component) => void | T
        • Parameters

          Returns void | T

    Returns undefined | T

  • Type parameters

    • T

    • S

    Parameters

    • callback: (childComponent: Component) => void | T
        • Parameters

          Returns void | T

    • thisArg: S

    Returns undefined | T

getBaseComponent

getChildComponent

  • getChildComponent(key: string): null | Component

getComponentFastener

getComponentModel

getComponentProperty

getComponentService

getComponentTrait

getComponentView

getComponentViewTrait

Protected getLayerFastener

getSuperComponent

hasComponentFastener

  • hasComponentFastener(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

hasComponentModel

  • hasComponentModel(modelName: string): boolean
  • Parameters

    • modelName: string

    Returns boolean

hasComponentProperty

  • hasComponentProperty(propertyName: string): boolean
  • Parameters

    • propertyName: string

    Returns boolean

hasComponentService

  • hasComponentService(serviceName: string): boolean
  • Parameters

    • serviceName: string

    Returns boolean

hasComponentTrait

  • hasComponentTrait(traitName: string): boolean
  • Parameters

    • traitName: string

    Returns boolean

hasComponentView

  • hasComponentView(viewName: string): boolean
  • Parameters

    • viewName: string

    Returns boolean

hasComponentViewTrait

  • hasComponentViewTrait(fastenerName: string): boolean
  • Parameters

    • fastenerName: string

    Returns boolean

Protected initCanvasView

  • Parameters

    Returns void

initComponent

Protected initContainerView

  • initContainerView(containerView: HtmlView): void
  • Parameters

    Returns void

Protected initLayer

Protected initLayerTrait

Protected initLayerView

Protected initMapTrait

  • initMapTrait(mapTrait: MapTrait): void
  • Parameters

    Returns void

Protected initMapView

  • initMapView(mapView: MapView): void
  • Parameters

    Returns void

insertChildComponent

  • insertChildComponent(childComponent: Component, targetComponent: null | Component, key?: string): void

Protected insertChildComponentMap

  • insertChildComponentMap(childComponent: Component): void

Protected insertComponentFastener

  • insertComponentFastener(childComponent: Component, targetComponent: null | Component): void

insertLayer

  • Parameters

    Returns void

insertLayerTrait

  • insertLayerTrait(layerTrait: GeoTrait, targetTrait?: null | Trait): void
  • Parameters

    Returns void

isCompiling

  • isCompiling(): boolean

isExecuting

  • isExecuting(): boolean

isMounted

  • isMounted(): boolean

isPowered

  • isPowered(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean

lastChildComponent

mount

  • mount(): void

Protected mountComponentFasteners

  • mountComponentFasteners(): void

Protected mountComponentModels

  • mountComponentModels(): void

Protected mountComponentProperties

  • mountComponentProperties(): void

Protected mountComponentServices

  • mountComponentServices(): void

Protected mountComponentTraits

  • mountComponentTraits(): void

Protected mountComponentViewTraits

  • mountComponentViewTraits(): void

Protected mountComponentViews

  • mountComponentViews(): void

Protected mountLayerFasteners

  • mountLayerFasteners(): void
  • Returns void

needsCompile

  • needsCompile(compileFlags: number, componentContext: ComponentContext): number

needsExecute

  • needsExecute(executeFlags: number, componentContext: ComponentContext): number

nextChildComponent

Protected onAddComponentObserver

Protected onAssemble

Protected onCompile

Protected onCompileChildComponent

Protected onCompileChildComponents

  • onCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected onCompute

Protected onExecute

Protected onExecuteChildComponent

Protected onExecuteChildComponents

  • onExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected onGenerate

Protected onInsertChildComponent

  • onInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected onMount

  • onMount(): void
  • Returns void

Protected onPower

  • onPower(): void

Protected onRemoveChildComponent

  • onRemoveChildComponent(childComponent: Component): void

Protected onRemoveComponentObserver

Protected onRequestUpdate

  • onRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected onRequireUpdate

  • onRequireUpdate(updateFlags: number, immediate: boolean): void

Protected onResolve

Protected onRevise

Protected onSetCanvasView

  • Parameters

    Returns void

Protected onSetContainerView

  • onSetContainerView(newContainerView: null | HtmlView, oldContainerView: null | HtmlView): void
  • Parameters

    Returns void

Protected onSetGeoViewport

  • Parameters

    Returns void

Protected onSetLayer

Protected onSetLayerGeoBounds

Protected onSetLayerTrait

Protected onSetLayerView

Protected onSetMapTrait

  • onSetMapTrait(newMapTrait: null | MapTrait, oldMapTrait: null | MapTrait): void
  • Parameters

    Returns void

Protected onSetMapView

  • onSetMapView(newMapView: null | MapView, oldMapView: null | MapView): void
  • Parameters

    Returns void

Protected onSetParentComponent

  • onSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected onUnmount

  • onUnmount(): void
  • Returns void

Protected onUnpower

  • onUnpower(): void

prependChildComponent

  • prependChildComponent(childComponent: Component, key?: string): void

previousChildComponent

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChildComponent

  • removeChildComponent(key: string): null | Component
  • removeChildComponent(childComponent: Component): void

Protected removeChildComponentMap

  • removeChildComponentMap(childComponent: Component): void

Protected removeComponentFastener

  • removeComponentFastener(childComponent: Component): void

removeComponentObserver

removeLayer

  • Parameters

    Returns void

removeLayerTrait

  • removeLayerTrait(layerTrait: GeoTrait): void
  • Parameters

    Returns void

requestUpdate

  • requestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

reviseComponentProperties

  • reviseComponentProperties(): void

setChildComponent

setComponentFastener

setComponentFlags

  • setComponentFlags(componentFlags: number): void

setComponentModel

setComponentProperty

setComponentService

setComponentTrait

setComponentView

setComponentViewTrait

Protected setGeoPerspective

  • Parameters

    Returns void

setKey

  • setKey(key: undefined | string): void
  • Parameters

    • key: undefined | string

    Returns void

setParentComponent

  • setParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected themeMapView

  • Parameters

    Returns void

Protected unmountComponentFasteners

  • unmountComponentFasteners(): void

Protected unmountComponentModels

  • unmountComponentModels(): void

Protected unmountComponentProperties

  • unmountComponentProperties(): void

Protected unmountComponentServices

  • unmountComponentServices(): void

Protected unmountComponentTraits

  • unmountComponentTraits(): void

Protected unmountComponentViewTraits

  • unmountComponentViewTraits(): void

Protected unmountComponentViews

  • unmountComponentViews(): void

Protected unmountLayerFasteners

  • unmountLayerFasteners(): void
  • Returns void

Protected willAddComponentObserver

Protected willAssemble

Protected willCompile

Protected willCompileChildComponent

Protected willCompileChildComponents

  • willCompileChildComponents(compileFlags: number, componentContext: ComponentContext): void

Protected willCompute

Protected willExecute

Protected willExecuteChildComponent

Protected willExecuteChildComponents

  • willExecuteChildComponents(executeFlags: number, componentContext: ComponentContext): void

Protected willGenerate

Protected willInsertChildComponent

  • willInsertChildComponent(childComponent: Component, targetComponent: null | Component): void

Protected willMount

  • willMount(): void

Protected willObserve

Protected willPower

  • willPower(): void

Protected willRemoveChildComponent

  • willRemoveChildComponent(childComponent: Component): void

Protected willRemoveComponentObserver

Protected willRequestUpdate

  • willRequestUpdate(targetComponent: Component, updateFlags: number, immediate: boolean): void

Protected willRequireUpdate

  • willRequireUpdate(updateFlags: number, immediate: boolean): void

Protected willResolve

Protected willRevise

Protected willSetCanvasView

  • Parameters

    Returns void

Protected willSetContainerView

  • willSetContainerView(newContainerView: null | HtmlView, oldCanvasView: null | HtmlView): void
  • Parameters

    Returns void

Protected willSetGeoViewport

  • Parameters

    Returns void

Protected willSetLayer

Protected willSetLayerGeoBounds

Protected willSetLayerTrait

Protected willSetLayerView

Protected willSetMapTrait

  • willSetMapTrait(newMapTrait: null | MapTrait, oldMapTrait: null | MapTrait): void
  • Parameters

    Returns void

Protected willSetMapView

  • willSetMapView(newMapView: null | MapView, oldMapView: null | MapView): void
  • Parameters

    Returns void

Protected willSetParentComponent

  • willSetParentComponent(newParentComponent: null | Component, oldParentComponent: null | Component): void

Protected willUnmount

  • willUnmount(): void

Protected willUnpower

  • willUnpower(): void

Generated using TypeDoc