I have a Google map
with different markers and the markers are shown if the user with the lat
and lng
are online.
So but now I want that if a user goes offline or online that his marker appears/disappears from the map. The On/Off function is handled with firestore
.
So I know when a user goes on/off and it works with a page reload, but how can I handle it without a page reload.
If you need some code let me know! Thanks.