componentDidMount(): void { const canAnimate = this.props.leaflet.map.options.zoomAnimation && L.Browser.any3d; const zoomClass = `leaflet-zoom-${canAnimate ? 'animated' : 'hide'}`; const mapSize = this.props.leaflet.map.getSize();
componentDidMount(): void { const canAnimate = this.props.leaflet.map.options.zoomAnimation && L.Browser.any3d; const zoomClass = `leaflet-zoom-${canAnimate ? 'animated' : 'hide'}`; const mapSize = this.props.leaflet.map.getSize();