GRINDR used to have this feature;. Usually, it was just annoying with randos (who never read my profile and had nothing in common with me) messaging me simply because I'm in the vicinity. Occasionally, guys got creepy/stalky and randomly knocked on neighbours doors trying to find me.
I don't recommend resurrecting it.