Type Alias: AnyHotspot
AnyHotspot =
MapLabelHotspot
|MapImageHotspot
|SideLabelHotspot
|SideImageHotspot
|MapMenu
Defined in: passages/interactiveMap/types.ts:611
Union type of all possible hotspot types. Used for type-safe hotspot arrays in interactive maps.
Remarks
This discriminated union allows TypeScript to narrow hotspot types
based on the type
property when rendering or processing hotspots.