Interactive interface for browsing global, full-resolution satellite imagery
Correct image download latlong label alignment #1528
Benjamin Kingbc9f6b62919e
diff --git a/web/css/image.css b/web/css/image.cssindex 528d33c1e..5f639f9dd 100644--- a/web/css/image.css+++ b/web/css/image.css@@ -67,13 +67,13 @@white-space: pre;color: #fff;text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;- padding: 5px;+ padding: 0 5px;}-#wv-image-bottom {+.wv-image-bottom {text-align: left;}-#wv-image-top {+.wv-image-top {text-align: right;}diff --git a/web/index.html b/web/index.htmlindex e6603ff78..40be8c2f7 100644--- a/web/index.html+++ b/web/index.html@@ -49,10 +49,10 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (http://opensource.gs<div data-role="page" id="app"></div><div id="wv-tour-content" class="tour-content"></div>- <div id="wv-image-top" class="wv-image-coords"></div>- <div id="wv-image-right" class="wv-image-coords"></div>- <div id="wv-image-bottom" class="wv-image-coords"></div>- <div id="wv-image-left" class="wv-image-coords"></div>+ <div id="wv-image-top" class="wv-image-coords wv-image-top"></div>+ <div id="wv-image-right" class="wv-image-coords wv-image-right"></div>+ <div id="wv-image-bottom" class="wv-image-coords wv-image-bottom"></div>+ <div id="wv-image-left" class="wv-image-coords wv-image-left"></div><div class="backdrop"></div></body>diff --git a/web/js/image/panel.js b/web/js/image/panel.jsindex 146850d17..b7e68e4e0 100644--- a/web/js/image/panel.js+++ b/web/js/image/panel.js@@ -286,8 +286,8 @@ export function imagePanel(models, ui, config, dialogConfig) {}$('#wv-image-top').css({- left: x1 - 10,- top: y1 - 20,+ left: x1,+ top: y1 - 15,width: x2 - x1}).html(topRightCoordinates);@@ -295,7 +295,7 @@ export function imagePanel(models, ui, config, dialogConfig) {$('#wv-image-bottom').css({left: x1,- top: y2,+ top: y2 + 5,width: x2 - x1}).html(bottomLeftCoordinates);@@ -379,14 +379,14 @@ export function imagePanel(models, ui, config, dialogConfig) {url);googleTagManager.pushEvent({- 'event': 'image_download',- 'layers': {- 'activeCount': models.layers.active.length+ event: 'image_download',+ layers: {+ activeCount: models.layers.active.length},- 'image': {- 'resolution': imgRes,- 'format': imgFormat,- 'worldfile': imgWorldfile+ image: {+ resolution: imgRes,+ format: imgFormat,+ worldfile: imgWorldfile}});