summaryrefslogtreecommitdiff
path: root/src/containers/app/map/controls/ScaleIndicatorContainer.js
blob: f075cde5aaa0fe4d430d861c78e5f75f07e25be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { connect } from "react-redux";
import ScaleIndicatorComponent from "../../../../components/app/map/controls/ScaleIndicatorComponent";

const mapStateToProps = state => {
  return {
    scale: state.map.scale
  };
};

const ScaleIndicatorContainer = connect(mapStateToProps)(
  ScaleIndicatorComponent
);

export default ScaleIndicatorContainer;