Skip to main content

@mapgear/mapengine > VectorLayer > GetFeaturesAtPixel

VectorLayer.GetFeaturesAtPixel() method

Retrieve the features at the specified pixel coordinates

Signature:
GetFeaturesAtPixel(pixelCoordinate: number[]): any;

Parameters

ParameterTypeDescription
pixelCoordinatenumber[]The position in pixels of the DOM element where the features are requested for
Returns:

any