new HighlightFeaturesModel()
modules/tools/gfi/highlightFeature.js, line 17
Class to highlight via gfi selected vector features.
Properties:
Name | Type | Default | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
fill |
object | "null" | Styling rules for fills
Properties
|
||||||
image |
object | "null" | Styling rules for images
Properties
|
||||||
stroke |
object | "null" | Styling rules strokes
Properties
|
||||||
text |
object | "null" | Styling rules for text
Properties
|
Extends
Methods
-
createStyle(feature, styleFunction){ol/Style}
modules/tools/gfi/highlightFeature.js, line 143 -
Clones and manipultes a given style
Name Type Description feature
ol/Feature openlayers vector feature styleFunction
function stylefunction Returns:
Style
-
getFeaturesOfTheme(theme){Array.<ol/Features>}
modules/tools/gfi/highlightFeature.js, line 102 -
returns selected features
Name Type Description theme
Tools.GFI.Theme opened theme -
getLayerOfTheme(theme){ol.Layer}
modules/tools/gfi/highlightFeature.js, line 76 -
return layer
Name Type Description theme
Tools.GFI.Theme opened theme -
getStyleOfLayer(layer){ol/Style}
modules/tools/gfi/highlightFeature.js, line 89 -
returns layerstyle
Name Type Description layer
ol/Layer ol layer Returns:
style
-
getValueInArray(list, index){Tools.GFI.Theme}
modules/tools/gfi/highlightFeature.js, line 63 -
return theme
Name Type Description list
Array.<Tools.GFI.Themes> Array of opened Themes index
integer index of visible theme -
highlight(model){void}
modules/tools/gfi/highlightFeature.js, line 30 -
Handling to highlight or lowlight vector features on gfi
Name Type Description model
ThemeModel Model of GFI Theme -
highlightFeatures(features, style){void}
modules/tools/gfi/highlightFeature.js, line 131 -
Sets the feature style for given features with given style
Name Type Description features
Array.<ol/Features> Array of ol features style
ol/Style ol style -
highlightFill(fill, rFill){ol/style/Fill}
modules/tools/gfi/highlightFeature.js, line 184 -
Clone and overwrite fill
Name Type Description fill
ol/style/Fill fill to change rFill
object rule to change fill Returns:
fill
-
highlightImage(image, rImage){ol/style/Image}
modules/tools/gfi/highlightFeature.js, line 200 -
Clone and overwrite image
Name Type Description image
ol/style/Image image to change rImage
object rule to change image Returns:
image
-
highlightStroke(stroke, rStroke){ol/style/Stroke}
modules/tools/gfi/highlightFeature.js, line 216 -
Clone and overwrite stroke
Name Type Description stroke
ol/style/Stroke stroke to change rStroke
object rule to change stroke Returns:
stroke
-
highlightText(text, rText){ol/style/Text}
modules/tools/gfi/highlightFeature.js, line 232 -
Clone and overwrite text
Name Type Description text
ol/style/Text text to change rText
object rule to change text Returns:
text
-
lowlightFeatures(){void}
modules/tools/gfi/highlightFeature.js, line 114 -
Removes the feature style for all highlighted features
-
setHighlightedFeatures(feature){void}
modules/tools/gfi/highlightFeature.js, line 247 -
Setter for highlightedFeatures
Name Type Description feature
ol/Feature value