Hierarchy

  • QueryGridController

Properties

$element_: JQuery<HTMLElement>
$scope_: IScope
$timeout_: ITimeoutService
active: boolean
featuresForSources_: Object

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

features_: Collection<Feature<Geometry>>
filename_: any

Filename

getMapFn: (() => Map)

Type declaration

    • (): Map
    • Returns Map

gridSources: Object
highlightFeatures_: Collection<Feature<Geometry>>
loadedGridSources: string[]

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

map_: Map
maxResults: number
ngeoCsvDownload_: DownloadCsvService
ngeoMapQuerent_: MapQuerent
ngeoQueryResult: QueryResult
options: any
pending: boolean
selectedTab: string | number

The id of the currently shown query source.

sumOfAvailableResults: number

Sum over all tabs of the available results

sumOfFeatures: number

Sum over all tabs of the obtained results

tooManyResults: boolean
unregisterSelectWatcher_: (() => void)

Type declaration

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

      Returns void

Methods

  • Remove all unwanted columns.

    Parameters

    • allProperties: Object[]

      A row.

    • featureGeometriesNames: string[]

      Geometry names.

    Returns void

  • Remove the current selected feature and source and remove all features from the map.

    Returns void

  • 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.

  • Parameters

    • data: Object[]

      Grid rows.

    Returns GridConfig

    Grid config.

  • 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.

  • Returns the number of selected rows of the currently active grid.

    Returns number

    The number of selected rows.

  • Returns if a row of the currently active grid is selected?

    Returns boolean

    Is one selected?

  • Remove columns that will be completely empty between each properties.

    Parameters

    • allProperties: Object[]

      A row.

    Returns void

Generated using TypeDoc