How does Google Maps API present location on whatscloseto.me

This post is more than 18 months old. Since technology changes to rapidly, this content may be out of date (but that's not always the case). Please remember to verify any technical or programming information with the current release.

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.

Return to All Posts