summaryrefslogtreecommitdiff
path: root/frontend/src/containers/app/map/layers/MapLayer.js
blob: 3c5ff8bec6f2febe75c605c169393ca5e072438b (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