@bmlt-enabled/croutonjs 3.20.6 → 3.20.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/crouton-map.js CHANGED
@@ -197,7 +197,9 @@ function MeetingMap(inConfig) {
197
197
 
198
198
  return controlDiv;
199
199
  }
200
-
200
+ function hasMapSearch() {
201
+ return 'map_search' in config;
202
+ }
201
203
  function loadFromCrouton(inDiv_id, meetings_responseObject, menuContext = null, handlebarMapOptions = null, fitBounds = true, callback) {
202
204
  if (!gDelegate.isApiLoaded()) {
203
205
  preloadApiLoadedCallback(loadFromCrouton, [inDiv_id, meetings_responseObject, menuContext, handlebarMapOptions, fitBounds, callback]);
@@ -724,6 +726,7 @@ function MeetingMap(inConfig) {
724
726
  this.closeModalWindow = closeModalWindow;
725
727
  this.loadPopupMap = loadPopupMap;
726
728
  this.filterVisible = filterVisible;
729
+ this.hasMapSearch = hasMapSearch;
727
730
  };
728
731
  MeetingMap.prototype.initialize = null;
729
732
  MeetingMap.prototype.showMap = null;
@@ -736,6 +739,7 @@ MeetingMap.prototype.openModalWindow = null;
736
739
  MeetingMap.prototype.closeModalWindow = null;
737
740
  MeetingMap.prototype.loadPopupMap = null;
738
741
  MeetingMap.prototype.filterVisible = null;
742
+ MeetingMap.prototype.hasMapSearch = null;
739
743
 
740
744
  function MapDelegate(config) {
741
745
  var g_icon_image_single = L.icon({