Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Readonly allLayers

allLayers: Collection<Layer>

A flattened collection of all layers in the map.

Read more...

Readonly allTables

allTables: Collection<Layer>

A flattened collection of tables anywhere in the map's hierarchy.

Read more...

basemap

basemap: Basemap

Specifies a basemap for the map.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly editableLayers

A collection of editable layers.

Read more...

ground

ground: Ground

Specifies the surface properties for the map.

Read more...

initialized

initialized: boolean

layers

layers: Collection<Layer>

A collection of operational layers.

Read more...

tables

tables: Collection<Layer>

A collection of layer instances that are tables saved in a Map and/or a WebMap.

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): Map
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Map

add

  • add(layer: Layer | Promise<any>, index?: number): void
  • Adds a layer to the layers collection.

    Read more...

    Parameters

    • layer: Layer | Promise<any>
    • Optional index: number

    Returns void

addMany

  • addMany(layers: Layer[], index?: number): void
  • Adds a layer or an array of layers to the layers collection.

    Read more...

    Parameters

    • layers: Layer[]
    • Optional index: number

    Returns void

destroy

  • destroy(): void

findLayerById

  • findLayerById(layerId: string): Layer
  • Returns a layer based on the given layer ID.

    Read more...

    Parameters

    • layerId: string

    Returns Layer

findTableById

  • Returns a table based on the given table ID.

    Read more...

    Parameters

    • tableId: string

    Returns SearchTable

get

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

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

remove

  • Removes the specified layer from the layers collection.

    Read more...

    Parameters

    Returns Layer

removeAll

  • Removes all layers.

    Read more...

    Returns Layer[]

removeMany

  • Removes the specified layers.

    Read more...

    Parameters

    Returns Layer[]

reorder

  • Changes the layer order.

    Read more...

    Parameters

    • layer: Layer
    • index: number

    Returns Layer

set

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

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Map

  • Parameters

    Returns Map

watch

  • Parameters

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

    Returns WatchHandle

Generated using TypeDoc