summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/map/layers/MapLayer.js
blob: 8596cb9c1257229383bbf13aa3834769b90958ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { connect } from 'react-redux'
import MapLayerComponent from '../../../../components/app/map/layers/MapLayerComponent'

const mapStateToProps = (state) => {
    return {
        mapPosition: state.map.position,
        mapScale: state.map.scale,
    }
}

const MapLayer = connect(mapStateToProps)(MapLayerComponent)

export default MapLayer