跳到主要内容

flywave-3dtile-datasource.tilerenderdatasource.intersectmapobjects

Home > @flywave/flywave-3dtile-datasource > TileRenderDataSource > intersectMapObjects

TileRenderDataSource.intersectMapObjects() method

Intersects map objects at the given screen coordinates

Signature:

intersectMapObjects(x: number, y: number, parameters?: IntersectParams): TileIntersection[];

Parameters

Parameter

Type

Description

x

number

Screen x coordinate

y

number

Screen y coordinate

parameters

IntersectParams

(Optional) Optional intersection parameters

Returns:



[TileIntersection](./flywave-3dtile-datasource.tileintersection.md)<!-- -->\[\]

Array of tile intersections