Whats the best way to go about region detection?

You can also use the spacial query apis instead.