new InteractionService()
MapboxViewer/application/services/InteractionService.ts, line 14
Methods
-
createInteractionsForMap()
MapboxViewer/application/services/InteractionService.ts, line 35 -
Creates interactions for a Mapbox map based on configuration (does not enable them).
-
disableAllInteractions()
MapboxViewer/application/services/InteractionService.ts, line 141 -
Disables all active interactions.
-
disableInteractionsForMap()
MapboxViewer/application/services/InteractionService.ts, line 131 -
Disables interactions for a specific map.
-
asyncenableInteractionsForMap()
MapboxViewer/application/services/InteractionService.ts, line 117 -
Enables existing interactions for a map where autoEnable is true.
-
getInteractionForMap(mapId, type)
MapboxViewer/application/services/InteractionService.ts, line 153 -
Gets a specific interaction for a map by type.
Name Type Description mapIdThe map ID.
typeThe interaction type (e.g., 'highlight').
Returns:
The interaction instance or undefined. -
asyncinitializeInteractionsForMap()
MapboxViewer/application/services/InteractionService.ts, line 22 -
Initializes all interactions for a map.
