We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a0318 commit 28065efCopy full SHA for 28065ef
js/jquery.storelocator.js
@@ -377,7 +377,7 @@ $.fn.storeLocator = function(options) {
377
if(settings.dataType === 'json' || settings.dataType === 'jsonp'){
378
//Process JSON
379
$.each(data, function(){
380
- var key, value, locationData = {};
+ var key, value, locationData = {};
381
382
// Parse each data variables
383
for ( key in this ) {
@@ -645,6 +645,8 @@ $.fn.storeLocator = function(options) {
645
}
646
647
var map = new google.maps.Map(document.getElementById(settings.mapDiv),myOptions);
648
+ $this.data('map', map);
649
+
650
//Create one infowindow to fill later
651
var infowindow = new google.maps.InfoWindow();
652
0 commit comments