pull/1662/head
Piero Toffanin 2025-04-22 12:27:04 -04:00
rodzic 7e5e5c988b
commit b8c0ef6363
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -33,7 +33,7 @@ import { _ } from '../classes/gettext';
import UnitSelector from './UnitSelector'; import UnitSelector from './UnitSelector';
import { unitSystem, toMetric } from '../classes/Units'; import { unitSystem, toMetric } from '../classes/Units';
const IOU_THRESHOLD = 0.3; const IOU_THRESHOLD = 0.7;
class Map extends React.Component { class Map extends React.Component {
static defaultProps = { static defaultProps = {
@ -928,7 +928,7 @@ _('Example:'),
if (stored){ if (stored){
// Only show annotations for top-most tasks // Only show annotations for top-most tasks
if (this.ious[task.id] >= IOU_THRESHOLD){ if (this.ious[task.id] >= 0.01){
PluginsAPI.Map.toggleAnnotation(layer, false); PluginsAPI.Map.toggleAnnotation(layer, false);
} }
} }