I've tried to find a solution for my task everywhere and got nothing. So I am here.
I'm trying to detect user's location with very high accuracy, but I am looking for the city only. What I mean: Device located in some quadratic or o-shaped city (Moscow for example). Now the app should detect current location of user's device - is it in Moscow or outside.. with high accuracy as I said earlier.
I don't understand how to "draw" a virtual border over the map to detect - user inside or outside of it.