Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • QueryWindowController

Index

Properties

animate

animate: number

collapsed

collapsed: boolean

Is the window currently collapsed? When used for Desktop, it is shown non-collapsed.

currentResult

currentResult: number

desktop

desktop: boolean

draggableContainment

draggableContainment: string | Element

element_

element_: JQuery<HTMLElement>
constant

{JQuery}

feature

feature: Feature<Geometry>

features_

features_: Collection<Feature<Geometry>>

filename_

filename_: any

Filename

highlightFeatures_

highlightFeatures_: Collection<Feature<Geometry>>

isLoading

isLoading: boolean

isNext

isNext: boolean

ngeoCsvDownload_

ngeoCsvDownload_: DownloadCsvService

ngeoFeatureOverlayMgr_

ngeoFeatureOverlayMgr_: FeatureOverlayMgr

ngeoMapQuerent_

ngeoMapQuerent_: MapQuerent

ngeoQueryResult

ngeoQueryResult: QueryResult

open

open: boolean

options

options: any

selectedSource

selectedSource: QueryResultSource

source

Methods

$onInit

  • $onInit(): void

animate_

  • animate_(isNext: boolean): void
  • Special function that's used to set the "animation" value after to set the "isNext" value. The aim is to wait on Angular to add a class (corresponding to "isNext") on the DOM before to set the "animation" value and do the animation.

    Parameters

    • isNext: boolean

      used to indicate if the user wants to see the next or the previous result.

    Returns void

clear

  • clear(): void

close

  • close(): void

collectFeatures_

  • collectFeatures_(): void

downloadCSV

getCSVData_

getCSVHeaderDefinition_

getFeatureValues

  • getFeatureValues(): Object
  • Delete the unwanted ol3 properties from the current feature then return the properties.

    Returns Object

    Filtered properties of the current feature or null.

getResultLength

  • getResultLength(): number
  • Get the total count of features in the result of the query. If a source has been select, only the number of features of that source are returned.

    Returns number

    Total number of features.

highlightCurrentFeature_

  • highlightCurrentFeature_(opt_lastFeature: Feature<Geometry>): void

isFirst

  • isFirst(): boolean

isLast

  • isLast(): boolean

next

  • next(): void

previous

  • previous(): void

setCurrentResult_

  • setCurrentResult_(position: number, setHighlight: boolean): boolean
  • Select a source and a feature depending of the given position.

    Parameters

    • position: number

      The index of the feature. If the position is bigger than the length of the first source, get it in the next source. Etc.

    • setHighlight: boolean

      True to set the highlight automatically.

    Returns boolean

    True if result has changed. False else.

setSelectedSource

show

  • show(): void
  • Remove current displayed results then get new results from the ngeoQueryResult service. Display all results on the map and display, highlight the first feature.

    Returns void

updateFeatures_

  • updateFeatures_(): void

updateQueryResult_

Generated using TypeDoc