@bmlt-enabled/croutonjs 3.20.6 → 3.20.7

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.
@@ -17011,7 +17011,7 @@ function Crouton(config) {
17011
17011
  if (self.config['map_search']) self.searchMap();
17012
17012
  else self.meetingSearch();
17013
17013
  }
17014
- else if (!self.config['map_search']) self.meetingSearch();
17014
+ else if (!window.croutonMap.hasMapSearch()) self.meetingSearch();
17015
17015
  }
17016
17016
 
17017
17017
  Crouton.prototype.setConfig = function(config) {
@@ -18213,7 +18213,9 @@ function MeetingMap(inConfig) {
18213
18213
 
18214
18214
  return controlDiv;
18215
18215
  }
18216
-
18216
+ function hasMapSearch() {
18217
+ return 'map_search' in config;
18218
+ }
18217
18219
  function loadFromCrouton(inDiv_id, meetings_responseObject, menuContext = null, handlebarMapOptions = null, fitBounds = true, callback) {
18218
18220
  if (!gDelegate.isApiLoaded()) {
18219
18221
  preloadApiLoadedCallback(loadFromCrouton, [inDiv_id, meetings_responseObject, menuContext, handlebarMapOptions, fitBounds, callback]);
@@ -18740,6 +18742,7 @@ function MeetingMap(inConfig) {
18740
18742
  this.closeModalWindow = closeModalWindow;
18741
18743
  this.loadPopupMap = loadPopupMap;
18742
18744
  this.filterVisible = filterVisible;
18745
+ this.hasMapSearch = hasMapSearch;
18743
18746
  };
18744
18747
  MeetingMap.prototype.initialize = null;
18745
18748
  MeetingMap.prototype.showMap = null;
@@ -18752,6 +18755,7 @@ MeetingMap.prototype.openModalWindow = null;
18752
18755
  MeetingMap.prototype.closeModalWindow = null;
18753
18756
  MeetingMap.prototype.loadPopupMap = null;
18754
18757
  MeetingMap.prototype.filterVisible = null;
18758
+ MeetingMap.prototype.hasMapSearch = null;
18755
18759
 
18756
18760
  function MapDelegate(config) {
18757
18761
  var g_icon_image_single = L.icon({