The {@link geocortex.essentialsHtmlViewer.ViewerApplication} that this module belongs to.
ID of the currently active highlight layer
The ViewerApplication that this module belongs to.
Default configuration for highlight layers
This function will be invoked if the max highlightable vertices threshold is exceeded (after generalization if configured). Such graphics will not be highlighted.
Whether highlights from the starred selection should persist on the map even when no result containing view is open
Returns the graphics currently in the active highlight layer.
active layer highlighted graphics.
Applies the default highlight configuration to the named highlight layer
Restore state from a saved project
Clears all the highlights from all layers for the specified features
Same as above, but has the wrong name
Clears the focused highlights on features in the list of features provided, returning them to the default highlight state
The list of features to highlight.
Clears the specified features from the specified (or default) highlight layer
Clears the highlights from the default layer, or the named or provided layer if one is named or provided.
Manually clear selected highlight from a set of features. This clears the selected property as well (so it doesn't just get put back) but does not propagate this change to other potential copies of this feature.
Returns the graphics currently in the default highlight layer.
default layer highlighted graphics.
Same as above, but the wrong name
Enables highlights on a graphic which has been suppressed. This will restore the original highlighted/focused state
The graphic to enable.
Export saved project state
Focuses the features in the list of features provided, and adds them to the active highlight later, or the layer specified layer.
The list of features to highlight.
Gets the current focused border color. Returns the 6 or 8 digit hex color in RGB or ARGB form.
Gets the current focused fill color. Returns the 6 or 8 digit hex color in RGB or ARGB form.
Gets the geometry generalization parameters. If any of the parameters is 0, generalization is disabled.
Gets the current border color. Returns the 6 or 8 digit hex color in RGB or ARGB form. The bright color of the inner line is taken to be the highlight color
Gets the current border width. Returns the width of the bottom border.
Gets the current fill color. Returns the 6 or 8 digit hex color in RGB or ARGB form. The transparent fill is applied to the bottom graphic.
Gets the graphics layer associated with a particular highlight layer name
Gets the graphics layer associated with the named or active highlight layer
Gets the set of graphics layers used by highlight layers, keyed by name.
Gets a highlight layer with the specified name.
The name of the layer to get.
highlight layer
Gets a highlight layer with the specified name, or the active layer if one is not specified.
highlight layer
Gets the set of infrastructure.HighlightLayer currently in use, keyed by name.
Gets the maximum number of vertices a geometry can contain for it to be highlightable. A value of '0' means unlimited.
Creates a new highlight layer that uses its own graphics layer, returning the graphics layer used.
The name of the layer to create.
The color to fill with, leave as null for default
The color to color the border with, leave as null for default
Creates a new highlighting layer with the specified name. This will throw an error if a layer with the specified name exists.
The name of the layer to create.
The color to fill with, leave as null for default
The color to color the border with, leave as null for default
Gets the current focused border color. Returns the 6 or 8 digit hex color in RGB or ARGB form.
Gets the current focused fill color. Returns the 6 or 8 digit hex color in RGB or ARGB form.
Highlights the features in the Esri Feature Set provided, and adds them to the active highlight later, or the layer specified layer. Features added will take the fill and border color that are currently set.
The Esri feature set to highlight.
Highlights the features in the list of features provided, and adds them to the active highlight later, or the user specified layer. Features added will take the fill and border color that are specified in the feature, or the current highlight colors if one is not specified.
The list of features to highlight.
Highlights the provided graphics on the provided layer (or default)
Highlights a feature with selected status only, omitting the base highlight. This is used in order to implement persistent selection highlights.
Redraws a single feature's highlight, keyed by highlight id
Redraws the current set of highlights. If any have been suppressed or have changed geometries this will update them.
Called when LayerVisualizationChangedEvent fires. Will reapply highlight symbology using the renderer currently active on the layer.
Removes the layer with the specified name, and any associated highlights.
The name of the layer to remove.
Sets the active highlight layer. This is the layer that new features will be added to, or cleared from. TODO: Deprecate this concept entirely. Still technically necessary from workflow if managing multiple highlight layers though.
The name of the layer to set as Active.
Sets the border width to the one specified. Note that highlights and focus have the same border width at the moment. This is for commands that use a single value to set the highlight border width.
The number (in pixels) for the width of the highlight.
Sets the focused border color to the one specified. Used by commands and config that takes a single color
Any color format accepted by dojo.Color constructor.
Sets the focused fill color to the one specified.
Any color format accepted by dojo.Color constructor.
Sets the geometry generalization parameters. If any of the parameters is 0 or invalid, generalization is disabled.
Returns a promise which is resolved when the appropriate internal parameters are computed and applied.
Sets the border color to the one specified. Used by commands and config that takes a single color
Any color format accepted by dojo.Color constructor.
Sets the fill color to the one specified.
Any color format accepted by dojo.Color constructor.
Sets the opacity of polyline highlights. Other geometry types are not affected.
Individual setter for inner border width.
Individual setter for inner focus border color
Individual setter for inner highlight border color
Individual setter for inner focus border color
Sets the maximum number of vertices a geometry can contain for it to be highlightable. A value of '0' means unlimited.
Individual setter for outer border width.
Individual setter for outer focus border color
Individual setter for outer highlight border color
Individual setter for outer focus border color
Sets the focused border color to the one specified. Used by commands and config that takes a single color
Any color format accepted by dojo.Color constructor.
Sets the focused fill color to the one specified.
Any color format accepted by dojo.Color constructor.
Suppresses highlights, with the ability to return to the original state by calling enableHighlight Note that highlights will be suppressed across all layers the geometry appears on (to deal properly with temp editing layers)
The graphic to supress.
Given a graphic, this method will change all stored highlights using the attached or supplied highlightId to use a new highlightId created from the geometry of the graphic. Use when a graphics geometry changes.
Initializes a new instance of an {@link geocortex.essentialsHtmlViewer.mapping.infrastructure.HighlightManager} object.
The central system for highlighting features.
geocortex.essentialsHtmlViewer.mapping.infrastructure