Class GeoMap

java.lang.Object
com.example.breeze_seas.GeoMap

public class GeoMap extends Object
Manages the retrieval and mapping of participant locations for a specific event. It converts Firestore GeoPoints into OSMDroid GeoPoints and associates them with participant details; username and status; for map markers.
  • Constructor Details

    • GeoMap

      public GeoMap(Event event)
      Constructor for the Map manager.
      Parameters:
      event - The Event object whose participants' locations need to be fetched.
  • Method Details

    • fetchLocation

      public void fetchLocation(GeoMap.FetchedLocationListener listener)
      Fetches participant documents from the event's sub-collection and resolves their usernames to create a map of locations.
      Parameters:
      listener - The listener to notify once the data set is complete.