code: function() {
      if (typeof navigator !== "undefined" && typeof navigator.geolocation !== "undefined") {
        log("Asking user to get their location");
        navigator.geolocation.getCurrentPosition(geolocationCallback, errorHandler);
      } else {
        log("Your browser does not support the HTML5 Geolocation API, so this demo will not work.")
      }
    }
docs: /* Uses the HTML5 geolocation API to get the current user's location