code: function (thisObj) {
  			thisObj.writeDebug('googleGeocode',arguments);
  			var geocoder = new google.maps.Geocoder();
  			this.geocode = function (request, callbackFunction) {
  				geocoder.geocode(request, function (results, status) {
  					if (status === google.maps.GeocoderStatus.OK) {
  						var result = {};
  						result.latitude = results[0].geometry.location.lat();
  						result.longitude = results[0].geometry.location.lng();
  						result.geocodeResult = results[0];
  						callbackFunction(result);
  					} else {
  						callbackFunction(null);
  						throw new Error('Geocode was not successful for the following reason: ' + status);
  					}
  				});
  			};
  		}
docs: Geocode function used to geocode the origin (entered location)