Harmoware-VIS Documents
  • Introduction
  • Using
    • Mapbox Accesstoken Setting
    • User Application Examples
  • API
    • State
    • Actions
    • getCombinedReducer
    • Container
    • connectToHarmowareVis
    • HarmoVisLayers
  • Layers
    • Base Layer properties.
    • MovesLayer
    • DepotsLayer
    • LineMapLayer
  • Control component
    • MovesInput
    • DepotsInput
    • LinemapInput
    • LoadingIcon
    • AddMinutesButton
    • ElapsedTimeRange
    • ElapsedTimeValue
    • PauseButton
    • PlayButton
    • ForwardButton
    • ReverseButton
    • NavigationButton
    • SimulationDateTime
    • SpeedRange
    • SpeedValue
    • FpsDisplay
  • css
Powered by GitBook
On this page

Was this helpful?

  1. API

getCombinedReducer

Get the Harmoware-VIS reducer function that can be passed to the createStore. It can also be integrated with the Harmoware-VIS reducer function by writing an additional reducer function in the argument.

Examples

import { render } from 'react-dom';
import { getCombinedReducer } from 'harmoware-vis';
import { createStore } from 'redux';

import { Provider } from 'react-redux';
import React from 'react';
import App from './containers';
import 'harmoware-vis/scss/harmoware.scss';

const store = createStore(getCombinedReducer());

render(
  <Provider store={store}>
    <App />
  </Provider>,
  document.getElementById('app')
);
PreviousActionsNextContainer

Last updated 4 years ago

Was this helpful?