dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function (mappingObject) {
			this.writeDebug('mapping',arguments);
			var _this = this;
			var orig_lat, orig_lng, geocodeData, origin, originPoint, page;
			if (!this.isEmptyObject(mappingObject)) {
				orig_lat = mappingObject.lat;
				orig_lng = mappingObject.lng;
				geocodeData = mappingObject.geocodeResult;
				origin = mappingObject.origin;
				page = mappingObject.page;
			}

			// Set the initial page to zero if not set
			if ( _this.settings.pagination === true ) {
				if (typeof page === 'undefined' || originalOrigin !== addressInput ) {
					page = 0;
				}
			}

			// Data request
			if (typeof origin === 'undefined' && this.settings.nameSearch === true) {
				dataRequest = _this._getData();
			}
			else {
				// Setup the origin point
				originPoint = new google.maps.LatLng(orig_lat, orig_lng);

				// If the origin hasn't changed use the existing data so we aren't making unneeded AJAX requests
				if ((typeof originalOrigin !== 'undefined') && (origin === originalOrigin) && (typeof originalData !== 'undefined')) {
					origin = originalOrigin;
					dataRequest = originalData;
				}
				else {
					// Do the data request - doing this in mapping so the lat/lng and address can be passed over and used if needed
					dataRequest = _this._getData(olat, olng, origin, geocodeData, mappingObject);
				}
			}

			// Check filters here to handle selected filtering after page reload
			if (_this.settings.taxonomyFilters !== null && _this.hasEmptyObjectVals(filters)) {
				_this.checkFilters();
			}
			/**
			 * Process the location data
			 */
			// Raw data
			if ( _this.settings.dataRaw !== null ) {
				_this.processData(mappingObject, originPoint, dataRequest, page);
			}
			// Remote data
			else {
				dataRequest.done(function (data) {
					_this.processData(mappingObject, originPoint, data, page);
				});
			}
		}
function (mappingObject) {
			this.writeDebug('mapping',arguments);
			var _this = this;
			var orig_lat, orig_lng, geocodeData, origin, originPoint, page;
			if (!this.isEmptyObject(mappingObject)) {
				orig_lat = mappingObject.lat;
				orig_lng = mappingObject.lng;
				geocodeData = mappingObject.geocodeResult;
				origin = mappingObject.origin;
				page = mappingObject.page;
			}

			// Set the initial page to zero if not set
			if ( _this.settings.pagination === true ) {
				if (typeof page === 'undefined' || originalOrigin !== addressInput ) {
					page = 0;
				}
			}

			// Data request
			if (typeof origin === 'undefined' && this.settings.nameSearch === true) {
				dataRequest = _this._getData();
			}
			else {
				// Setup the origin point
				originPoint = new google.maps.LatLng(orig_lat, orig_lng);

				// If the origin hasn't changed use the existing data so we aren't making unneeded AJAX requests
				if ((typeof originalOrigin !== 'undefined') && (origin === originalOrigin) && (typeof originalData !== 'undefined')) {
					origin = originalOrigin;
					dataRequest = originalData;
				}
				else {
					// Do the data request - doing this in mapping so the lat/lng and address can be passed over and used if needed
					dataRequest = _this._getData(olat, olng, origin, geocodeData, mappingObject);
				}
			}

			// Check filters here to handle selected filtering after page reload
			if (_this.settings.taxonomyFilters !== null && _this.hasEmptyObjectVals(filters)) {
				_this.checkFilters();
			}
			/**
			 * Process the location data
			 */
			// Raw data
			if ( _this.settings.dataRaw !== null ) {
				_this.processData(mappingObject, originPoint, dataRequest, page);
			}
			// Remote data
			else {
				dataRequest.done(function (data) {
					_this.processData(mappingObject, originPoint, data, page);
				});
			}
		}
function ( mappingObject ) { this . writeDebug ( 'mapping' , arguments ) ; var _this = this ; var orig_lat , orig_lng , geocodeData , origin , originPoint , page ; if ( ! this . isEmptyObject ( mappingObject ) ) { orig_lat = mappingObject . lat ; orig_lng = mappingObject . lng ; geocodeData = mappingObject . geocodeResult ; origin = mappingObject . origin ; page = mappingObject . page ; } // Set the initial page to zero if not set if ( _this . settings . pagination === true ) { if ( typeof page === 'undefined' || originalOrigin !== addressInput ) { page = 0 ; } } // Data request if ( typeof origin === 'undefined' && this . settings . nameSearch === true ) { dataRequest = _this . _getData ( ) ; } else { // Setup the origin point originPoint = new google . maps . LatLng ( orig_lat , orig_lng ) ; // If the origin hasn't changed use the existing data so we aren't making unneeded AJAX requests if ( ( typeof originalOrigin !== 'undefined' ) && ( origin === originalOrigin ) && ( typeof originalData !== 'undefined' ) ) { origin = originalOrigin ; dataRequest = originalData ; } else { // Do the data request - doing this in mapping so the lat/lng and address can be passed over and used if needed dataRequest = _this . _getData ( olat , olng , origin , geocodeData , mappingObject ) ; } } // Check filters here to handle selected filtering after page reload if ( _this . settings . taxonomyFilters !== null && _this . hasEmptyObjectVals ( filters ) ) { _this . checkFilters ( ) ; } /**
			 * Process the location data
			 */ // Raw data if ( _this . settings . dataRaw !== null ) { _this . processData ( mappingObject , originPoint , dataRequest , page ) ; } // Remote data else { dataRequest . done ( function ( data ) { _this . processData ( mappingObject , originPoint , data , page ) ; } ) ; } }
The primary mapping function that runs everything

@param mappingObject {Object} all the potential mapping properties - latitude, longitude, origin, name, max distance, page
The primary mapping function that runs everything