Skip to content

Documentation / @geoverse/core-ol / GraphicHitCallback

Type Alias: GraphicHitCallback ​

ts
type GraphicHitCallback = (graphic, event?) => void;

Defined in: packages/core-ol/src/layers/massLayer.ts:17

命中回调:graphic 为命中的要素(未命中为 null)

Parameters ​

graphic ​

Graphic | null

event? ​

unknown

Returns ​

void