Class: QueryModel

Tools.Filter.Query QueryModel

QueryModel

new QueryModel(){void}

modules/tools/filter/query/model.js, line 30
todo
Properties:
Name Type Default Description
featureIds Array [ todo
isLayerVisible boolean false todo
activateOnSelection boolean false todo
searchInMapExtent boolean true Flag for the search in the current map extent.
liveZoomToFeatures boolean false todo

Extends

Methods

addSearchInMapExtentSnippet(){void}

modules/tools/filter/query/model.js, line 137
adds a snippet for the map extent search

addSnippets(featureAttributesMap){void}

modules/tools/filter/query/model.js, line 99
[description]
Name Type Description
featureAttributesMap Array.<Object> Mapping array for feature attributes

createSnippets(featureAttributes){void}

modules/tools/filter/query/model.js, line 150
Creates one or more Snippets, where Snippets like DropDowns or Sliders
Name Type Description
featureAttributes Array.<object> feature attributes

deselectAllValueModels(){void}

modules/tools/filter/query/model.js, line 252
iterates over the snippet collection and calls in the snippet deselectValueModels

mapDisplayNames(featureAttributesMap){object}

modules/tools/filter/query/model.js, line 212
Konfigurierter Labeltext wird den Features zugeordnet
Name Type Description
featureAttributesMap object Mapobject
Returns:
- gefiltertes Mapobject

mapRules(featureAttributesMap, rules){object}

modules/tools/filter/query/model.js, line 233
adds values that should be initially selected (rules) to the map object
Name Type Description
featureAttributesMap object Mapobject
rules object contains values to be added

trimAttributes(featureAttributesMap){object}

modules/tools/filter/query/model.js, line 178
Entfernt alle Attribute die nicht in der Whitelist stehen
Name Type Description
featureAttributesMap object Mapobject
Returns:
- gefiltertes Mapobject