import React from 'react'; import SitesIcon from './presentational/Icons/SitesIcon.js'; import RefreshIcon from './presentational/Icons/RefreshIcon.js'; import CoeventIcon from './presentational/Icons/CoeventIcon.js'; import RouteIcon from './presentational/Icons/RouteIcon.js'; class ToolbarBottomActions extends React.Component { resetAllFilters() { this.props.actions.resetAllFilters(); } toggleInfoPopup() { this.props.actions.toggleInfoPopup(); } toggleLanguage() { this.props.actions.toggleLanguage(); } toggleMapViews(layer) { this.props.actions.toggleMapView(layer); } toggleGuidedMode() { this.props.actions.toggleGuidedMode(); } renderMapActions() { return (
this.toggleMapViews(view)} isEnabled={this.props.viewFilters.routes} /> this.toggleMapViews(view)} isEnabled={this.props.viewFilters.sites} /> this.toggleMapViews(view)} isEnabled={this.props.viewFilters.coevents} />
); } render() { return (
{/*}{this.renderMapActions()}
*/}
); } } export default ToolbarBottomActions;