跳到主要内容

flywave-mapview.textelementsrenderer.picktextelements

Home > @flywave/flywave-mapview > TextElementsRenderer > pickTextElements

TextElementsRenderer.pickTextElements() method

Fill the picking results for the pixel with the given screen coordinate. If multiple s are found, the order of the results is unspecified.

Note: s with identical featureId or identical userData will only appear once in the list pickResults.

Signature:

pickTextElements(screenPosition: THREE.Vector2, pickListener: PickListener): void;

Parameters

Parameter

Type

Description

screenPosition

THREE.Vector2

Screen coordinate of picking position.

pickListener

PickListener

Returns:



void