Skip to content

gi-nx


gi-nx / setHighlightedFeatures

ts
function setHighlightedFeatures(features: Feature<Geometry, {
[name: string]: any;
}>[], color?: number): void;

Parameters

ParameterTypeDescription
featuresFeature<Geometry, { [name: string]: any; }>[]Array of GeoJSON Feature objects to highlight
color?numberOptional highlight color as a hex number (e.g. 0xff00ff). Defaults to blue.

Returns

void

void