danielswaine / SodburyChallenge

A Rails app to help manage an overnight orienteering competition.
GNU General Public License v3.0
0 stars 1 forks source link

Updating map to group by checkpoint number #45

Closed danielswaine closed 2 years ago

danielswaine commented 2 years ago

The map needs updating to group checkpoints by number if the same checkpoint is used between challenges. If the checkpoint score differs between challenges, it must display the challenge time limit against the score. Currently, if two checkpoints are displayed, they will be on top of each other hiding the other marker.

e.g.

  "goals": [
    {
      "number": 1,
      "grid_reference": "8455-1790",
      "description": "Ea eos enim sed quod eaque aut.",
      "points_value": {
        "5 Hour": 10,
        "8 Hour": 20
      }
    },
    {
      "number": 2,
      "grid_reference": "9625-0015",
      "description": "Lacinia est sit amet, consequat lectus..",
      "points_value": {
        "5 Hour": 10
      }
    }
  ]

This is the data that is currently returned: Screenshot 2022-02-08 at 20 50 25

danielswaine commented 2 years ago

Fixed in a340bb53fea71ea57dcf08794c90582b0257a7bf