Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Adjust spacing of image-download coordinate labels #1265

Benjamin Kingacc767782d20
diff --git a/web/js/image/panel.js b/web/js/image/panel.js
index 12c415dfa..825021bb6 100644
--- a/web/js/image/panel.js
+++ b/web/js/image/panel.js
@@ -281,6 +281,7 @@ export function imagePanel(models, ui, config, dialogConfig) {
bottomLeftCoordinates,
topRightCoordinates
) {
+ console.log(x1, x2, y1, y2, bottomLeftCoordinates, topRightCoordinates);
if (x2 - x1 < 150) {
bottomLeftCoordinates = '';
topRightCoordinates = '';
@@ -288,7 +289,7 @@ export function imagePanel(models, ui, config, dialogConfig) {
$('#wv-image-top')
.css({
left: x1 - 10,
- top: y1 - 20,
+ top: y1 - 10,
width: x2 - x1
})
.html(topRightCoordinates);
@@ -296,7 +297,7 @@ export function imagePanel(models, ui, config, dialogConfig) {
$('#wv-image-bottom')
.css({
left: x1,
- top: y2,
+ top: y2 + 12,
width: x2 - x1
})
.html(bottomLeftCoordinates);