Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MapInstance

Hierarchy

  • MapInstance

Implements

  • OldGisFrameworkCompatShim

Index

Properties

Private dataSources

dataSources: object

Type declaration

  • [index: string]: FeatureSource

Private drawingProvider

drawingProvider: LeafletDrawingProvider

Private initialized

initialized: boolean = false

Private initializing

initializing: boolean = false

Private layerSources

layerSources: object

Type declaration

  • [index: string]: LayerSource

Private map

map: LeafletMap

Private mapContainer

mapContainer: HTMLDivElement

Private mapContainerId

mapContainerId: string

Private mapSubscriptions

mapSubscriptions: Disposable[] = []

Private sourcePromises

sourcePromises: Promise<any>[] = []

Accessors

defaultOptions

  • get defaultOptions(): any
  • set defaultOptions(options: any): void
  • Returns any

  • Parameters

    • options: any

    Returns void

Methods

addCodesLoadedHandler

  • addCodesLoadedHandler(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

addExtentChangeHandler

  • addExtentChangeHandler(callback: function): void
  • Parameters

    • callback: function
        • (sender: any, extent: any): void
        • Parameters

          • sender: any
          • extent: any

          Returns void

    Returns void

addFeatureSelectionChangedHandler

  • addFeatureSelectionChangedHandler(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

addLayerLoadedHandler

  • addLayerLoadedHandler(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

addVisibleLayersChangedHandler

  • addVisibleLayersChangedHandler(callback: function): void
  • Parameters

    • callback: function
        • (): void
        • Returns void

    Returns void

cancelGeometrySelection

  • cancelGeometrySelection(): void
  • Returns void

create

  • create(options: CreateOptions): void
  • Parameters

    • options: CreateOptions

    Returns void

destroy

  • destroy(): void
  • Returns void

executeCommand

  • executeCommand(command: string, parameter: any, callback: function): void
  • Parameters

    • command: string
    • parameter: any
    • callback: function
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns void

executeComponent

  • executeComponent(componentName: string): void
  • Parameters

    • componentName: string

    Returns void

Private fetchConfiguration

  • fetchConfiguration(sourceUrl: string, appId: string): Promise<LegacyApplicationConfiguration>
  • Parameters

    • sourceUrl: string
    • appId: string

    Returns Promise<LegacyApplicationConfiguration>

getProperty

  • getProperty(key: string): any
  • Parameters

    • key: string

    Returns any

getQueryStringHashedPart

  • getQueryStringHashedPart(): string
  • Returns string

getQueryableLayers

  • getQueryableLayers(): LegacyLayerInfo[]
  • Returns LegacyLayerInfo[]

getVisibleLayers

  • getVisibleLayers(): LegacyLayerInfo[]
  • Returns LegacyLayerInfo[]

loadCodes

  • loadCodes(parameter: any, callback: function): void
  • Parameters

    • parameter: any
    • callback: function
        • (): void
        • Returns void

    Returns void

loadLayer

  • loadLayer(parameter: any): void
  • Parameters

    • parameter: any

    Returns void

raw

  • raw(): any
  • Returns any

selectBox

  • selectBox(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

selectCircle

  • selectCircle(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

Private selectGeometry

  • selectGeometry(geometryType: string, callback: function): void
  • Parameters

    • geometryType: string
    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

selectLine

  • selectLine(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

selectPoint

  • selectPoint(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

selectPolygon

  • selectPolygon(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

selectPolyline

  • selectPolyline(callback: function): void
  • Parameters

    • callback: function
        • (geometry: any): void
        • Parameters

          • geometry: any

          Returns void

    Returns void

setPalette

  • setPalette(hexColor: string): void
  • Parameters

    • hexColor: string

    Returns void

setProperty

  • setProperty(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

shiftPalette

  • shiftPalette(hexColor: string): void
  • Parameters

    • hexColor: string

    Returns void

Object literals

Private _defaultOptions

_defaultOptions: object

height

height: string = "100%"

width

width: string = "100%"