There is some advice here for using a CloudDB to diplay map coordinates using a Map component. APP INVENTOR put markers on the map from the coordinates saved in the firebase
A FirebaseDB is similar to a CloudDB. You should be able to adapt one of the examples to your purposes.
There are many discussions showing how to use display coordinates on a MIT Map component in the community discussions.
Try an example; if you run into difficulty, ask for specific advice.