dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function(map, origin) {
			this.writeDebug('inlineDirections',arguments);

			if (this.settings.inlineDirections !== true || typeof origin === 'undefined') {
				return;
			}

			var _this = this;

			// Open directions
			$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' li .loc-directions a', function (e) {
				e.preventDefault();
				var locID = $(this).closest('li').attr('data-markerid');
				_this.directionsRequest(origin, parseInt(locID), map);

				// Close directions
				$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' .bh-sl-close-icon', function () {
					_this.closeDirections();
				});
			});
		}
function(map, origin) {
			this.writeDebug('inlineDirections',arguments);

			if (this.settings.inlineDirections !== true || typeof origin === 'undefined') {
				return;
			}

			var _this = this;

			// Open directions
			$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' li .loc-directions a', function (e) {
				e.preventDefault();
				var locID = $(this).closest('li').attr('data-markerid');
				_this.directionsRequest(origin, parseInt(locID), map);

				// Close directions
				$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' .bh-sl-close-icon', function () {
					_this.closeDirections();
				});
			});
		}
function ( map , origin ) { this . writeDebug ( 'inlineDirections' , arguments ) ; if ( this . settings . inlineDirections !== true || typeof origin === 'undefined' ) { return ; } var _this = this ; // Open directions $ ( document ) . on ( 'click.' + pluginName , '.' + _this . settings . locationList + ' li .loc-directions a' , function ( e ) { e . preventDefault ( ) ; var locID = $ ( this ) . closest ( 'li' ) . attr ( 'data-markerid' ) ; _this . directionsRequest ( origin , parseInt ( locID ) , map ) ; // Close directions $ ( document ) . on ( 'click.' + pluginName , '.' + _this . settings . locationList + ' .bh-sl-close-icon' , function ( ) { _this . closeDirections ( ) ; } ) ; } ) ; }
Inline directions setup

@param map {Object} Google map
@param origin {string} Origin address
Inline directions setup