client/locations-list-map.js
// Loads data file from url and assigns into object given by dataToStore
Loads data file from url and assigns into object given by dataToStore
Loads data file from url and assigns into object given by dataToStore
function loadDataFile(url, dataToStore) {
  $.getJSON(
    url,
    (result) => {
      Object.assign(dataToStore, toDataByLocation(result));
      gOtherMarkers.push(
        ...getMarkers(dataToStore, {}, null, {
          icon: getIcon(gDatasetMarkers[gDataset].standard),
          ...SECONDARY_MARKER_OPTIONS,
          datasetKey: gDataset,
        }).outOfFilters
      );
      updateClusters(null, gSecondaryCluster);
    }
  );
}
function loadDataFile ( url , dataToStore ) { $ . getJSON ( url , ( result ) => { Object . assign ( dataToStore , toDataByLocation ( result ) ) ; gOtherMarkers . push ( ... getMarkers ( dataToStore , { } , null , { icon : getIcon ( gDatasetMarkers [ gDataset ] . standard ) , ... SECONDARY_MARKER_OPTIONS , datasetKey : gDataset , } ) . outOfFilters ) ; updateClusters ( null , gSecondaryCluster ) ; } ) ; }
Loads data file from url and assigns into object given by dataToStore
Loads data file from url and assigns into object given by dataToStore
// opacity value matches what's in css for the .secondarycluster class - // can set a css class for the clusters, but not for individual pins.