dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function() {
			this.writeDebug('closeDirections');

			// Close directions callback
			if (this.settings.callbackCloseDirections) {
				this.settings.callbackCloseDirections.call(this);
			}

			// Remove the close icon, remove the directions, add the list back
			this.reset();

			if ((olat) && (olng)) {
				if (this.countFilters() === 0) {
					this.settings.mapSettings.zoom = originalZoom;
				}
				else {
					this.settings.mapSettings.zoom = 0;
				}
				this.processForm(null);
			}

			$(document).off('click.'+pluginName, '.' + this.settings.locationList + ' .bh-sl-close-icon');
		}
function() {
			this.writeDebug('closeDirections');

			// Close directions callback
			if (this.settings.callbackCloseDirections) {
				this.settings.callbackCloseDirections.call(this);
			}

			// Remove the close icon, remove the directions, add the list back
			this.reset();

			if ((olat) && (olng)) {
				if (this.countFilters() === 0) {
					this.settings.mapSettings.zoom = originalZoom;
				}
				else {
					this.settings.mapSettings.zoom = 0;
				}
				this.processForm(null);
			}

			$(document).off('click.'+pluginName, '.' + this.settings.locationList + ' .bh-sl-close-icon');
		}
function ( ) { this . writeDebug ( 'closeDirections' ) ; // Close directions callback if ( this . settings . callbackCloseDirections ) { this . settings . callbackCloseDirections . call ( this ) ; } // Remove the close icon, remove the directions, add the list back this . reset ( ) ; if ( ( olat ) && ( olng ) ) { if ( this . countFilters ( ) === 0 ) { this . settings . mapSettings . zoom = originalZoom ; } else { this . settings . mapSettings . zoom = 0 ; } this . processForm ( null ) ; } $ ( document ) . off ( 'click.' + pluginName , '.' + this . settings . locationList + ' .bh-sl-close-icon' ) ; }
Close the directions panel and reset the map with the original locationset and zoom
Close the directions panel and reset the map with the original locationset and zoom