geoview-core
    Preparing search index...

    Class HoverFeatureInfoLayerSet

    A Layer-set working with the LayerApi at handling a result set of registered layers and synchronizing events happening on them (in this case when the user hovers on the map) with a store for UI updates. HoverFeatureInfoLayerSet

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    layerApi: LayerApi

    The LayerApi to work with

    The resultSet object as existing in the base class, retyped here as a TypeHoverFeatureInfoResultSet

    Methods

    • Function used to determine whether hover events are disabled for a layer. When a layer path is not provided, the value returned is undefined if the map flags are a mixture of true and false values.

      Parameters

      • OptionallayerPath: string

        Optional parameter used to get the flag value of a layer.

      Returns boolean | undefined

      The flag value for the map or layer.

    • Protected

      Align records with informatiom provided by OutFields from layer config. This will update fields in and delete unwanted fields from the arrayOfRecords

      Parameters

      • layerEntryConfig: AbstractBaseLayerEntryConfig

        The layer entry config object.

      • arrayOfRecords: TypeFeatureInfoEntry[]

        Features to delete fields from.

      Returns void

    • Processes layer data to query features on it, if the layer path can be queried.

      Parameters

      • map: Map

        The Map to query layer features from.

      • geoviewLayer: AbstractGVLayer

        The geoview layer

      • queryType: QueryType

        The query type

      • location: TypeLocation

        The location for the query

      • queryGeometry: boolean = true

        The query geometry boolean

      • abortController: AbortController | undefined = undefined

        The optional abort controller.

      Returns Promise<TypeFeatureInfoEntry[]>

      A promise resolving to the query results