One of these tutorials should help you build your app to show locations of individual's locations who have the app.
[bus2] How to broadcast a GPS location and share the information on a map in real time.
Two similar apps explore the basics of how to share a location using a single screen and a real time database. One app user beacons, the others monitor (view his/her) location map using the same app.
Share Your Location is a basic app to share a map of your location with others who have installed your app. The example tracks a single user who beacons his/her location. Provide separate Tags for other u…
Social Distancing ... a CloudDB / Location Marker Tutorial
The Project
Determine how close an individual you share an app with is to you. You use a CloudDB, LocationSensor/GPS receiver, Map component, design time Markers and a StayAwake routine. Sound an alarm when someone comes too close or just have fun with the app to keep track of your family circle's whereabouts. Observe where everyone is on a Map. The app continually updates and calculates distance separation.
The Social Distancing s…
Adapt them as required. These show how to use the CloudDB control however they can easily be adapted to use the FirebaseDB by replacing CloudDB controls with their FB equivalents.
Also you might find these discussions useful
or more simply How to text your Location to a Phone and Display the Location on a Google Map