How to use geo-location filters in search?

I think you could just filter in your script when you receive the response ?