dist/assets/js/plugins/storeLocator/jquery.storelocator.js
function(map, infowindow, storeStart, page) {
			this.writeDebug('listClick',arguments);
			var _this = this;

			$(document).on('click.' + pluginName, '.' + _this.settings.locationList + ' li', function () {
				var markerId = $(this).data('markerid');
				var selectedMarker = markers[markerId];

				// List click callback
				if (_this.settings.callbackListClick) {
					_this.settings.callbackListClick.call(this, markerId, selectedMarker, locationset[markerId], map);
				}

				map.panTo(selectedMarker.getPosition());
				var listLoc = 'left';
				if (_this.settings.bounceMarker === true) {
					selectedMarker.setAnimation(google.maps.Animation.BOUNCE);
					setTimeout(function () {
							selectedMarker.setAnimation(null);
							_this.createInfowindow(selectedMarker, listLoc, infowindow, storeStart, page);
						}, 700
					);
				}
				else {
					_this.createInfowindow(selectedMarker, listLoc, infowindow, storeStart, page);
				}

				// Custom selected marker override
				if (_this.settings.selectedMarkerImg !== null) {
					_this.changeSelectedMarker(selectedMarker);
				}

				// Focus on the list
				$('.' + _this.settings.locationList + ' li').removeClass('list-focus');
				$('.' + _this.settings.locationList + ' li[data-markerid=' + markerId + ']').addClass('list-focus');
			});

			// Prevent bubbling from list content links
			$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' li a', function(e) {
				e.stopPropagation();
			});
		}
function(map, infowindow, storeStart, page) {
			this.writeDebug('listClick',arguments);
			var _this = this;

			$(document).on('click.' + pluginName, '.' + _this.settings.locationList + ' li', function () {
				var markerId = $(this).data('markerid');
				var selectedMarker = markers[markerId];

				// List click callback
				if (_this.settings.callbackListClick) {
					_this.settings.callbackListClick.call(this, markerId, selectedMarker, locationset[markerId], map);
				}

				map.panTo(selectedMarker.getPosition());
				var listLoc = 'left';
				if (_this.settings.bounceMarker === true) {
					selectedMarker.setAnimation(google.maps.Animation.BOUNCE);
					setTimeout(function () {
							selectedMarker.setAnimation(null);
							_this.createInfowindow(selectedMarker, listLoc, infowindow, storeStart, page);
						}, 700
					);
				}
				else {
					_this.createInfowindow(selectedMarker, listLoc, infowindow, storeStart, page);
				}

				// Custom selected marker override
				if (_this.settings.selectedMarkerImg !== null) {
					_this.changeSelectedMarker(selectedMarker);
				}

				// Focus on the list
				$('.' + _this.settings.locationList + ' li').removeClass('list-focus');
				$('.' + _this.settings.locationList + ' li[data-markerid=' + markerId + ']').addClass('list-focus');
			});

			// Prevent bubbling from list content links
			$(document).on('click.'+pluginName, '.' + _this.settings.locationList + ' li a', function(e) {
				e.stopPropagation();
			});
		}
function ( map , infowindow , storeStart , page ) { this . writeDebug ( 'listClick' , arguments ) ; var _this = this ; $ ( document ) . on ( 'click.' + pluginName , '.' + _this . settings . locationList + ' li' , function ( ) { var markerId = $ ( this ) . data ( 'markerid' ) ; var selectedMarker = markers [ markerId ] ; // List click callback if ( _this . settings . callbackListClick ) { _this . settings . callbackListClick . call ( this , markerId , selectedMarker , locationset [ markerId ] , map ) ; } map . panTo ( selectedMarker . getPosition ( ) ) ; var listLoc = 'left' ; if ( _this . settings . bounceMarker === true ) { selectedMarker . setAnimation ( google . maps . Animation . BOUNCE ) ; setTimeout ( function ( ) { selectedMarker . setAnimation ( null ) ; _this . createInfowindow ( selectedMarker , listLoc , infowindow , storeStart , page ) ; } , 700 ) ; } else { _this . createInfowindow ( selectedMarker , listLoc , infowindow , storeStart , page ) ; } // Custom selected marker override if ( _this . settings . selectedMarkerImg !== null ) { _this . changeSelectedMarker ( selectedMarker ) ; } // Focus on the list $ ( '.' + _this . settings . locationList + ' li' ) . removeClass ( 'list-focus' ) ; $ ( '.' + _this . settings . locationList + ' li[data-markerid=' + markerId + ']' ) . addClass ( 'list-focus' ) ; } ) ; // Prevent bubbling from list content links $ ( document ) . on ( 'click.' + pluginName , '.' + _this . settings . locationList + ' li a' , function ( e ) { e . stopPropagation ( ) ; } ) ; }
Handle clicks from the location list

@param map {Object} Google map
@param infowindow {Object} Info window object
@param storeStart {number} Starting point of current page when pagination is enabled
@param page {number} Current page number when pagination is enabled
Handle clicks from the location list