Merge pull request #46 from uwap/greenkeeper/react-leaflet-2.0.0

Update react-leaflet to the latest version 🚀
This commit is contained in:
uwap 2018-07-10 17:40:25 +02:00 committed by GitHub
commit f7972afcd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

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