temp(hot fix to satellite toggle) needs further fix #46

This commit is contained in:
msramalho
2022-04-12 22:05:24 +02:00
parent 2ffefa9966
commit e51ee26d98

View File

@@ -536,6 +536,7 @@ class Map extends React.Component {
{this.renderSelected()} {this.renderSelected()}
</> </>
) : null; ) : null;
console.log(this)
return ( return (
<div className={classes} onKeyDown={this.props.onKeyDown} tabIndex="0"> <div className={classes} onKeyDown={this.props.onKeyDown} tabIndex="0">
@@ -547,7 +548,7 @@ class Map extends React.Component {
/> />
{this.props.features.USE_SATELLITE_OVERLAY_TOGGLE && ( {this.props.features.USE_SATELLITE_OVERLAY_TOGGLE && (
<SatelliteOverlayToggle <SatelliteOverlayToggle
isUsingSatellite={this.props.ui.tiles === "satellite"} isUsingSatellite={this.props.ui.tiles === "bellingcat-mapbox/cl1win2vp003914pdhateva6p"}
switchToSatellite={this.props.actions.useSatelliteTilesOverlay} switchToSatellite={this.props.actions.useSatelliteTilesOverlay}
reset={this.props.actions.resetTilesOverlay} reset={this.props.actions.resetTilesOverlay}
/> />