src/vis/tooltip-manager.js
function (deps) {
  if (!deps.mapModel) throw new Error('mapModel is required');
  if (!deps.tooltipModel) throw new Error('tooltipModel is required');
  if (!deps.infowindowModel) throw new Error('infowindowModel is required');

  this._mapModel = deps.mapModel;
  this._tooltipModel = deps.tooltipModel;
  this._infowindowModel = deps.infowindowModel;

  this._layersBeingFeaturedOvered = {};
}
function (deps) {
  if (!deps.mapModel) throw new Error('mapModel is required');
  if (!deps.tooltipModel) throw new Error('tooltipModel is required');
  if (!deps.infowindowModel) throw new Error('infowindowModel is required');

  this._mapModel = deps.mapModel;
  this._tooltipModel = deps.tooltipModel;
  this._infowindowModel = deps.infowindowModel;

  this._layersBeingFeaturedOvered = {};
}
function ( deps ) { if ( ! deps . mapModel ) throw new Error ( 'mapModel is required' ) ; if ( ! deps . tooltipModel ) throw new Error ( 'tooltipModel is required' ) ; if ( ! deps . infowindowModel ) throw new Error ( 'infowindowModel is required' ) ; this . _mapModel = deps . mapModel ; this . _tooltipModel = deps . tooltipModel ; this . _infowindowModel = deps . infowindowModel ; this . _layersBeingFeaturedOvered = { } ; }
Manages the tooltips for a map. It listens to events triggered by a
CartoDBLayerGroupView and updates models accordingly
Manages the tooltips for a map . It listens to events triggered by a CartoDBLayerGroupView and updates models accordingly