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 dc137e2 commit 45cb909Copy full SHA for 45cb909
src/js/jquery.storelocator.js
@@ -376,6 +376,17 @@
376
}
377
},
378
379
+ /**
380
+ * Get google.maps.Map instance
381
+ *
382
+ * @returns {Object} google.maps.Map instance
383
+ */
384
+ getMap: function() {
385
+ var myOptions = this.settings.mapSettings;
386
+ var map = new google.maps.Map(document.getElementById(this.settings.mapID), myOptions);
387
+ return map;
388
+ },
389
+
390
/**
391
* Load templates via Handlebars templates in /templates or inline via IDs - private
392
*/
0 commit comments