summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/map/controls/ScaleIndicatorContainer.js
blob: 6e443479d40ee0bfdc4815e0809370306cda5a55 (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