Skip to content

Commit b8c0ef6

Browse files
committed
IoU tweaks
1 parent 7e5e5c9 commit b8c0ef6

File tree

1 file changed

+2
-2
lines changed
  • app/static/app/js/components

1 file changed

+2
-2
lines changed

app/static/app/js/components/Map.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { _ } from '../classes/gettext';
3333
import UnitSelector from './UnitSelector';
3434
import { unitSystem, toMetric } from '../classes/Units';
3535

36-
const IOU_THRESHOLD = 0.3;
36+
const IOU_THRESHOLD = 0.7;
3737

3838
class Map extends React.Component {
3939
static defaultProps = {
@@ -928,7 +928,7 @@ _('Example:'),
928928

929929
if (stored){
930930
// Only show annotations for top-most tasks
931-
if (this.ious[task.id] >= IOU_THRESHOLD){
931+
if (this.ious[task.id] >= 0.01){
932932
PluginsAPI.Map.toggleAnnotation(layer, false);
933933
}
934934
}

0 commit comments

Comments
 (0)