new GoLayerInteractions()
Class responsible for managing layer interactions such as hover effects on a map.
Methods
-
changeDefaultHoverZIndex(zindex){GoHover}
Interactions/GoLayerInteractions/index.ts, line 104 -
Changes the z-index of the default hover interaction.
Name Type Description zindexnumber The new z-index value for the hover interaction.
Returns:
Type Description GoHover - The updated GoHover object.
-
changeVisibilityDefaultHover(active){void}
Interactions/GoLayerInteractions/index.ts, line 76 -
Changes the visibility of the default hover interaction.
Name Type Description activeboolean A boolean indicating whether to show or hide the hover interaction.
Returns:
Type Description void -
getDefaultHover(){GoHover}
Interactions/GoLayerInteractions/index.ts, line 66 -
Retrieves the default hover interaction.
Returns:
Type Description GoHover - The current default hover interaction.
-
hasDefaulthover(){boolean}
Interactions/GoLayerInteractions/index.ts, line 57 -
Checks if the default hover interaction is set.
Returns:
Type Description boolean - Returns true if the default hover interaction exists, false otherwise.
-
removeDefaultHover(){void}
Interactions/GoLayerInteractions/index.ts, line 88 -
Removes the default hover interaction from the map.
Returns:
Type Description void
