SIT-13143: Toggle Legend Visibility

How to Use This Feature

Feature Summary: Hide/Show Legend on BOE Primary Event Map

Overview

---------------

This feature allows fans to toggle between hiding and displaying the legend on a BOE primary event enhanced map. The feature is only available for BOE primary event enhanced maps.

Behavior

-------------

  • When initially viewing the page, the enhanced map version of the legend is displayed.
  • A down arrow button labeled "Legend" is visible above and below the legend.
  • Clicking the down arrow button above or below the legend hides the legend, with an up arrow button labeled "Legend" appearing where the legend previously was.
  • When the legend is hidden, clicking the up arrow button labeled "Legend" displays the enhanced map version of the legend again.
  • Requirements

  • Use the existing legend on BOE primary event pages
  • Add down arrow buttons above and below the legend to collapse the legend
  • Add an up arrow button when the legend is collapsed to expand the legend
  • The feature should only be available for BOE primary event enhanced maps (determined by a feature flag)
  • Notes

  • The feature does not include tooltips or hover effects, which may make it difficult to use on mobile devices.
  • The UI is intended to be similar to what was implemented on 3DDV maps.
  • Additional Information

    Status: UAT
    Assigned to: Harry Orenstein
    🏠 Home View in Jira