eurofurence / ef-app_android

Eurofurence App (Android version)
MIT License
13 stars 5 forks source link

Show Conference Room on Map on Event Details #240

Closed Pinselohrkater closed 6 years ago

Pinselohrkater commented 6 years ago

Similar to how Dealer Details find the corresponding map that contains a LinkFragment that points to them, on Event Details, find the corresponding map that contains a LinkFragment that points to the Events ConferenceRoom.

e.G, an Event held in Paris could find this Map Entry:

 {
        "Id": "619a0014-dd63-46c8-a8ff-c0f337177f91",
        "X": 963,
        "Y": 758,
        "TapRadius": 80,
        "Links": [
          {
            "FragmentType": "EventConferenceRoom",
            "Name": "Paris",
            "Target": "0338c8dc-9871-4b48-8b35-45c1632bd8df"
          },
          {
            "FragmentType": "MapEntry",
            "Name": "Paris",
            "Target": "86381c5c-46d9-4057-9d15-1499df04abd1"
          }
        ]
      }

Similar to dealer details, show the map centered on that position, with a red circle around the target coordinates.