Skip to content

Commit a9152f9

Browse files
authored
Merge pull request #1566 from swisstopo/bugfix/target-point-anchor
Disable target point tool
2 parents 9304944 + 86d7ad8 commit a9152f9

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

ui/src/elements/ngm-nav-tools.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -440,17 +440,21 @@ export class NgmNavTools extends LitElementI18n {
440440
})}"
441441
@click=${() => this.dispatchEvent(new CustomEvent('togglecamconfig'))}
442442
></div>
443-
<div
444-
title="${i18next.t('nav_target_point')}"
445-
class="ngm-coords-icon ${classMap({
446-
'ngm-active-icon': this.showTargetPoint,
447-
'ngm-disabled':
448-
this.lockType !== '' && this.lockType !== 'elevation',
449-
})}"
450-
@click=${() => this.toggleReference()}
451-
></div>
452443
</div>
453444
${dragArea}
454445
`;
455446
}
447+
448+
// TODO Fix the target point tool and then add this icon back to the toolbar.
449+
/*
450+
<div
451+
title="${i18next.t('nav_target_point')}"
452+
class="ngm-coords-icon ${classMap({
453+
'ngm-active-icon': this.showTargetPoint,
454+
'ngm-disabled':
455+
this.lockType !== '' && this.lockType !== 'elevation',
456+
})}"
457+
@click=${() => this.toggleReference()}
458+
></div>
459+
*/
456460
}

0 commit comments

Comments
 (0)