Update ControlMap.js

This commit is contained in:
uwap 2018-07-10 17:36:28 +02:00 committed by GitHub
parent 4d7f407dbd
commit dc604ada69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,8 @@ export default class ControlMap extends React.PureComponent<ControlMapProps> {
return ( return (
<Map center={this.center} <Map center={this.center}
zoom={this.props.zoom} zoom={this.props.zoom}
crs={CRS.Simple}> crs={CRS.Simple}
leaflet={{}}>
{this.renderMarkers()} {this.renderMarkers()}
{this.renderLayers()} {this.renderLayers()}
</Map> </Map>