gi-nx / setHighlightedFeatures
ts
function setHighlightedFeatures(features: Feature<Geometry, {
[name: string]: any;
}>[], color?: number): void;Parameters
| Parameter | Type | Description |
|---|---|---|
features | Feature<Geometry, { [name: string]: any; }>[] | Array of GeoJSON Feature objects to highlight |
color? | number | Optional highlight color as a hex number (e.g. 0xff00ff). Defaults to blue. |
Returns
void
void