Hierarchy

  • QueryWindowController

Properties

animate: number
collapsed: boolean

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

currentResult: number
desktop: boolean
draggableContainment: string | Element
element_: JQuery<HTMLElement>

Constant

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

Filename

highlightFeatures_: Collection<Feature<Geometry>>
isLoading: boolean
isNext: boolean
ngeoCsvDownload_: DownloadCsvService
ngeoMapQuerent_: MapQuerent
ngeoQueryResult: QueryResult
open: boolean
options: any
selectedSource: QueryResultSource

Methods

  • 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

  • Returns

    columns definitions for the CSV.

    Parameters

    • data: Object[]

      where keys with at least one defined value will be used as csv column header.

    Returns any[]

  • Delete the unwanted ol3 properties from the current feature then return the properties.

    Returns

    Filtered properties of the current feature or null.

    Returns Object

  • 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

    Total number of features.

    Returns number

  • Highlight the current displayed feature.

    Parameters

    • Optional opt_lastFeature: Feature<Geometry>

      last highlighted feature. Require if it exists because it must be added to the 'non-selected' features collection.

    Returns void

  • Select the logical previous source and feature then highlight this feature on the map.

    Returns void

  • Select a source and a feature depending of the given position.

    Returns

    True if result has changed. False else.

    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

  • 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

Generated using TypeDoc