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

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

const ScaleIndicatorContainer = connect(
    mapStateToProps
)(ScaleIndicatorComponent);

export default ScaleIndicatorContainer;