How to use the analytics/analyticsActions.trackInnerTimelineChange function in analytics

To help you get started, we’ve selected a few analytics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GlobalFishingWatch / map-client / app / src / filters / filtersActions.js View on Github external
return (dispatch, getState) => {
    trackInnerTimelineChange(dispatch, innerTimelineDates, getState().filters.timelineInnerExtent, getState().filters.timelinePaused);

    dispatch({
      type: SET_INNER_TIMELINE_DATES,
      payload: innerTimelineDates
    });
  };
}
github GlobalFishingWatch / map-client / app / src / filters / filtersActions.js View on Github external
return (dispatch, getState) => {
    trackInnerTimelineChange(dispatch, innerTimelineDates, getState().filters.timelineInnerExtent, getState().filters.timelinePaused);

    dispatch({
      type: SET_INNER_TIMELINE_DATES,
      payload: innerTimelineDates
    });
  };
}