Types
import type { LayerViewHighlightOptions } from "@arcgis/core/views/layers/types.js";

Type definitions

LayerViewHighlightOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Options for highlighting features in a FeatureLikeLayerView.highlight(). It can be used to customize the highlight behavior, such as changing the color or opacity of the highlight.

See also

name

readonly Property
Type
string | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The HighlightOptions.name of the highlight options from the view's View.highlights collection. If a name is provided, the corresponding highlight options will be applied to the feature(s). Otherwise, the default highlight options will be used.