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 featureol.Feature the feature which has been changed -
checkInsideSearchMarker(top, left){undefined}
modules/tools/gfi/model.js, line 768 -
Prüft, ob clickpunkt in RemoveIcon und liefert true/false zurück.
Name Type Description topinteger Pixelwert leftinteger Pixelwert -
getClickedCoordinate(centerPolygon, evt){number}
modules/tools/gfi/model.js, line 363 -
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 centerPolygonboolean Parameter for specifying whether the coordinate of the center of a feature should be determined. evtol.MapBrowserPointerEvent click event. Returns:
of clicked position or center coordinate of clicked feature.
-
getGFIParamsList(layerList){Object}
modules/tools/gfi/model.js, line 403 -
Aufschlüsselung von WMS und Vector-GFI Abfragen aus einer gemischten Layerliste unter Berücksichtung von GroupLayern.
Name Type Description layerListArray.<model> Liste der aufzuschlüsselnden Layer Returns:
der aufgeschlüsslten GFI
-
getOAFGFIParams(layerlist, eventPixel){Array.<Object>}
modules/tools/gfi/model.js, line 551 -
Get the GFI parameters for requesting OAF layers.
Name Type Description layerlistArray.<OAFLayer> List of layers to request. eventPixelArray.<number> Pixel coordinates of the click event. Returns:
parameters for OAF layers.
-
getOATVectorGFIParams(layerlist, eventPixel){Array.<Object>}
modules/tools/gfi/model.js, line 532 -
Get the GFI parameters for requesting OATVector layers.
Name Type Description layerlistArray.<OATLayer> List of layers to request. eventPixelArray.<number> Pixel coordinates of the click event. Returns:
parameters for OATVector layers.
-
getVectorGFIParams(layerlist, eventPixel){Array.<object>}
modules/tools/gfi/model.js, line 497 -
Ermittelt die GFIParameter zur Abfrage von Vectorlayern
Name Type Description layerlistArray.<layer> Liste der abzufragenden Vectorlayer eventPixelpixel Pixelkoordinate Returns:
von Vektorlayern
-
getVectorGfiParams3d(featureAtPixel, olLayer){void}
modules/tools/gfi/model.js, line 610 -
Name Type Description featureAtPixelol.Feature Feature olLayerol.Layer Layer -
getWMSGFIParams(layerlist){Array.<object>}
modules/tools/gfi/model.js, line 638 -
Ermittelt die GFIParameter zur Abfrage von WMSlayern
Name Type Description layerlistArray.<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 595 -
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 modelAttributesObject Model attributes needed for gfi featureol.feature Vector feature that was found on click event Returns:
vector gfi param
-
setGfiOfFeature(hit){void}
modules/tools/gfi/model.js, line 687 -
Generates a GFI when the feature layer is clicked
Name Type Description hitobject Feature Object -
setGfiOfLayerAtPosition(layerId, coordinate){void}
modules/tools/gfi/model.js, line 658 -
Erzeugt ein GFI eines spezifischen Layers an einer bestimmten Position
Name Type Description layerIdstring ID des Layers coordinateArray.<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 evtol.MapBrowserPointerEvent Event
Events
-
RadioRequestGFIGetCurrentView
devtools/jsdoc/events.js, line 1605 -
returns currentView
Example
Radio.request("GFI", "getCurrentView"); -
RadioTriggerGFIChangeFeature
devtools/jsdoc/events.js, line 1612 -
updates the current gfi Feature if it matches.
Name Type Description featureol.Feature The feature that has changed. Example
Radio.trigger("GFI", "changeFeature", feature); -
RadioTriggerGFISetIsVisible
devtools/jsdoc/events.js, line 1598 -
sets isVisible
Name Type Description isVisibleboolean visibility of gfi Listeners of This Event:
Example
Radio.trigger("GFI", "setIsVisible", false);