imagery offset

This commit is contained in:
Milos Brzakovic (E-Search)
2021-11-26 13:24:46 +01:00
parent 1170f25ebf
commit 7a7e34ed75
2 changed files with 3 additions and 0 deletions

View File

@@ -807,6 +807,7 @@ en:
tooltip: Show coordinates and regional details.
fix_misalignment: Imagery Offset
offset: "Drag anywhere in the gray area below to adjust the imagery offset, or enter the offset values in meters."
offset_label: "Adjust Imagery Offset"
map_data:
title: Map Data
description: Map Data

View File

@@ -148,6 +148,7 @@ export function uiSectionBackgroundOffset(context) {
.attr('class', 'nudge-inner-rect')
.append('input')
.attr('type', 'text')
.attr('aria-label', t('background.offset_label'))
.on('change', inputOffset);
nudgeWrapEnter
@@ -155,6 +156,7 @@ export function uiSectionBackgroundOffset(context) {
.selectAll('button')
.data(_directions).enter()
.append('button')
.attr('title', function(d) { return 'nudge ' + d[0]; })
.attr('class', function(d) { return d[0] + ' nudge'; })
.on('click', function(d3_event, d) {
nudge(d[1]);