Class: GFI

Tools.GFI GFI

GFI

new GFI()

modules/tools/gfi/model.js, line 51

Extends

Methods

changeFeature(feature){void}

modules/tools/gfi/model.js, line 177
if the displayed feature changes, the model is recreated and the gfi adjusted
Name Type Description
feature ol.Feature the feature which has been changed

checkInsideSearchMarker(top, left){undefined}

modules/tools/gfi/model.js, line 656
Prüft, ob clickpunkt in RemoveIcon und liefert true/false zurück.
Name Type Description
top integer Pixelwert
left integer Pixelwert

getClickedCoordinate(centerPolygon, evt){number}

modules/tools/gfi/model.js, line 354
Returns the clicked coordinates, if the parameter centerPolygon is false. If the parameter centerPolygon has the value true, the coordinate of the center of the feature is determined.
Name Type Description
centerPolygon boolean Parameter for specifying whether the coordinate of the center of a feature should be determined.
evt ol.MapBrowserPointerEvent click event.
Returns:
of clicked position or center coordinate of clicked feature.

getGFIParamsList(layerList){Object}

modules/tools/gfi/model.js, line 394
Aufschlüsselung von WMS und Vector-GFI Abfragen aus einer gemischten Layerliste unter Berücksichtung von GroupLayern.
Name Type Description
layerList Array.<model> Liste der aufzuschlüsselnden Layer
Returns:
der aufgeschlüsslten GFI

getVectorGFIParams(layerlist, eventPixel){Array.<object>}

modules/tools/gfi/model.js, line 444
Ermittelt die GFIParameter zur Abfrage von Vectorlayern
Name Type Description
layerlist Array.<layer> Liste der abzufragenden Vectorlayer
eventPixel pixel Pixelkoordinate
Returns:
von Vektorlayern

getVectorGfiParams3d(featureAtPixel, olLayer){void}

modules/tools/gfi/model.js, line 498
Name Type Description
featureAtPixel ol.Feature Feature
olLayer ol.Layer Layer

getWMSGFIParams(layerlist){Array.<object>}

modules/tools/gfi/model.js, line 526
Ermittelt die GFIParameter zur Abfrage von WMSlayern
Name Type Description
layerlist Array.<layer> Liste der abzufragenden WMSlayer
Returns:
vom WMS-Layern

initView(){undefined}

modules/tools/gfi/model.js, line 208
Löscht vorhandene View - falls vorhanden - und erstellt eine neue mobile | detached | attached

prepareVectorGfiParam(modelAttributes, feature){Object}

modules/tools/gfi/model.js, line 483
Adds gfifeatureList and feature to model attributes. Manipulates the model id which is a DIRTY HACK until gfi gets completely refactored! we are resetting the gfitheme-list. and for each model there must be a unique id now if we have a cluster feature with 2 features. the layer ids are the same, and only one layer gets added to the themelist that is why we add "_[uniqueId]", so that the gfiTheme-list contains two options theme models
Name Type Description
modelAttributes Object Model attributes needed for gfi
feature ol.feature Vector feature that was found on click event
Returns:
vector gfi param

setGfiOfFeature(hit){void}

modules/tools/gfi/model.js, line 575
Generates a GFI when the feature layer is clicked
Name Type Description
hit object Feature Object

setGfiOfLayerAtPosition(layerId, coordinate){void}

modules/tools/gfi/model.js, line 546
Erzeugt ein GFI eines spezifischen Layers an einer bestimmten Position
Name Type Description
layerId string ID des Layers
coordinate Array.<coordinate> Position des GFI

setGfiParams(evt){void}

modules/tools/gfi/model.js, line 237
Function to define the Gfi Parameters. Determines from which layers and from which coordinate the information of one or more features is retrieved.
Name Type Description
evt ol.MapBrowserPointerEvent Event

Events

RadioRequestGFIGetCurrentView

devtools/jsdoc/events.js, line 1611
returns currentView
Example
Radio.request("GFI", "getCurrentView");

RadioTriggerGFIChangeFeature

devtools/jsdoc/events.js, line 1618
updates the current gfi Feature if it matches.
Name Type Description
feature ol.Feature The feature that has changed.
Example
Radio.trigger("GFI", "changeFeature", feature);

RadioTriggerGFISetIsVisible

devtools/jsdoc/events.js, line 1604
sets isVisible
Name Type Description
isVisible boolean visibility of gfi
Listeners of This Event:
Example
Radio.trigger("GFI", "setIsVisible", false);