examples/bookmark/moveButton.js
function mapDispatchToProps(dispatch) {
  return {
    moveSlide: (count) => {
      dispatch(bookmarkAction.moveSlide(count));
    },
    zoomTo: (coords, zoomLevel) => {
      dispatch(mapActions.setView(coords, zoomLevel));
    }
  };
}
function mapDispatchToProps(dispatch) {
  return {
    moveSlide: (count) => {
      dispatch(bookmarkAction.moveSlide(count));
    },
    zoomTo: (coords, zoomLevel) => {
      dispatch(mapActions.setView(coords, zoomLevel));
    }
  };
}
function mapDispatchToProps ( dispatch ) { return { moveSlide : ( count ) => { dispatch ( bookmarkAction . moveSlide ( count ) ) ; } , zoomTo : ( coords , zoomLevel ) => { dispatch ( mapActions . setView ( coords , zoomLevel ) ) ; } } ; }
Need the moveSlide function from bookmark reducer Need setView function from map reducer
Need the moveSlide function from bookmark reducer Need setView function from map reducer