summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/map/controls/ScaleIndicatorContainer.js
blob: fa3b9d22f9c1fa1eb99732465e2f4500d6367069 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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