Skip to content

How does Google Maps API present location on whatscloseto.me

Sep 14, 2010 1 min read #misc-web

This post is more than 18 months old. Technology changes quickly, so some of this content may be out of date (but that's not always the case). Please verify any technical or programming information against 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.