dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function (thisObj) {
			thisObj.writeDebug('reverseGoogleGeocode',arguments);
			var geocoder = new google.maps.Geocoder();
			this.geocode = function (request, callbackFunction) {
				geocoder.geocode(request, function (results, status) {
					if (status === google.maps.GeocoderStatus.OK) {
						if (results[0]) {
							var result = {};
							result.address = results[0].formatted_address;
							callbackFunction(result);
						}
					} else {
						callbackFunction(null);
						throw new Error('Reverse geocode was not successful for the following reason: ' + status);
					}
				});
			};
		}
function (thisObj) {
			thisObj.writeDebug('reverseGoogleGeocode',arguments);
			var geocoder = new google.maps.Geocoder();
			this.geocode = function (request, callbackFunction) {
				geocoder.geocode(request, function (results, status) {
					if (status === google.maps.GeocoderStatus.OK) {
						if (results[0]) {
							var result = {};
							result.address = results[0].formatted_address;
							callbackFunction(result);
						}
					} else {
						callbackFunction(null);
						throw new Error('Reverse geocode was not successful for the following reason: ' + status);
					}
				});
			};
		}
function ( thisObj ) { thisObj . writeDebug ( 'reverseGoogleGeocode' , arguments ) ; var geocoder = new google . maps . Geocoder ( ) ; this . geocode = function ( request , callbackFunction ) { geocoder . geocode ( request , function ( results , status ) { if ( status === google . maps . GeocoderStatus . OK ) { if ( results [ 0 ] ) { var result = { } ; result . address = results [ 0 ] . formatted_address ; callbackFunction ( result ) ; } } else { callbackFunction ( null ) ; throw new Error ( 'Reverse geocode was not successful for the following reason: ' + status ) ; } } ) ; } ; }
Reverse geocode to get address for automatic options needed for directions link
Reverse geocode to get address for automatic options needed for directions link