I get a few questions here and there about the location detection on whatscloseto.me. Sometimes it seems really near - other times it seems way off.
First off, check out this section of the Google Maps AJAX API. That’s how I determine the location. When no location can be found, I set the location to Milwaukee, WI - because that’s where I am from. Pretty simple.