Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • QueryGridController

Index

Properties

$element_

$element_: JQuery<HTMLElement>

$scope_

$scope_: IScope

$timeout_

$timeout_: ITimeoutService

active

active: boolean

featuresForSources_

featuresForSources_: Object

A mapping between row uid and the corresponding feature for each source.

features_

features_: Collection<Feature<Geometry>>

filename_

filename_: string

Filename

getMapFn

getMapFn: () => Map

Type declaration

    • (): Map
    • Returns Map

gridSources

gridSources: Object

highlightFeatures_

highlightFeatures_: Collection<Feature<Geometry>>

loadedGridSources

loadedGridSources: string[]

IDs of the grid sources in the order they were loaded.

map_

map_: Map

maxResults

maxResults: number

ngeoCsvDownload_

ngeoCsvDownload_: DownloadCsvService

ngeoFeatureOverlayMgr_

ngeoFeatureOverlayMgr_: FeatureOverlayMgr

ngeoMapQuerent_

ngeoMapQuerent_: MapQuerent

ngeoQueryResult

ngeoQueryResult: QueryResult

options

pending

pending: boolean

selectedTab

selectedTab: string | number

The id of the currently shown query source.

sumOfAvailableResults

sumOfAvailableResults: number

Sum over all tabs of the available results

sumOfFeatures

sumOfFeatures: number

Sum over all tabs of the obtained results

tooManyResults

tooManyResults: boolean

unregisterSelectWatcher_

unregisterSelectWatcher_: () => void

Type declaration

    • (): void
    • An unregister function returned from $scope.$watchCollection for "on-select" changes (when rows are selected/unselected).

      Returns void

Methods

$onInit

  • $onInit(): void

cleanProperties_

  • cleanProperties_(allProperties: Object[], featureGeometriesNames: string[]): void

clear

  • clear(): void

collectData_

downloadCsv

  • downloadCsv(): void

escapeValue

  • escapeValue(value: string | number): string | number
  • Returns the value with all symbols and spaces replaced by an underscore.

    Parameters

    • value: string | number

      A value to escape.

    Returns string | number

    value An escaped value.

getActiveGridSource

getGridConfiguration_

  • getGridConfiguration_(data: Object[]): GridConfig

getGridSources

getMergedSource_

  • Check if the given source should be merged. If so, an artificial source that will contain the features of all mergeable sources is returned. If not, null is returned.

    Parameters

    Returns QueryResultSource

    A merged source of null if the source should not be merged.

getMergedSources_

getSelectedRowCount

  • getSelectedRowCount(): number

hasOneWithTooManyResults_

  • hasOneWithTooManyResults_(): boolean

invertSelection

  • invertSelection(): void

isOneSelected

  • isOneSelected(): boolean

isSelected

makeGrid_

onSelectionChanged_

  • onSelectionChanged_(): void

reflowGrid_

  • reflowGrid_(): void

removeEmptyColumnsFn_

  • removeEmptyColumnsFn_(allProperties: Object[]): void

selectAll

  • selectAll(): void

selectTab

unselectAll

  • unselectAll(): void

updateData_

  • updateData_(): void

updateFeatures_

zoomToSelection

  • zoomToSelection(): void

Generated using TypeDoc