@mapgear/geoapps > LayerItem > EnableHover
LayerItem.EnableHover() method
Enable hover on the layer, which shows a pointer cursor when hovering a layer
Signature:EnableHover(enable: boolean, options?: I.HoverOptions): void;
Parameters
Parameter | Type | Description |
---|---|---|
enable | boolean | Whether hover is enabled |
options | I.HoverOptions | (Optional) Optional options for the hover method |
void
Remarks
This can have a significant performance impact. Be cautios when enabling this option!