From d2050a80fef45ea3042c9b49fe1a9b9916d60884 Mon Sep 17 00:00:00 2001 From: nanli-emory Date: Fri, 5 Apr 2024 17:04:13 -0400 Subject: [PATCH] add semicolon --- apps/mini/uicallbacks.js | 2 +- apps/viewer/uicallbacks.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mini/uicallbacks.js b/apps/mini/uicallbacks.js index c1ba9bb08..4c37458fb 100644 --- a/apps/mini/uicallbacks.js +++ b/apps/mini/uicallbacks.js @@ -1359,7 +1359,7 @@ function locationCallback(layerData) { return; } // locate annotation 3.0 - const geoType = item.data.geometries.features[0].geometry.type + const geoType = item.data.geometries.features[0].geometry.type; if (geoType == 'Point'||geoType == 'Circle'||geoType == 'Ellipse') { const bound = item.data.geometries.features[0].bound.coordinates; const center = $CAMIC.viewer.viewport.imageToViewportCoordinates( diff --git a/apps/viewer/uicallbacks.js b/apps/viewer/uicallbacks.js index c06970d6d..69a7b5e8f 100644 --- a/apps/viewer/uicallbacks.js +++ b/apps/viewer/uicallbacks.js @@ -1547,7 +1547,7 @@ function locationCallback(layerData) { return; } // locate annotation 3.0 - const geoType = item.data.geometries.features[0].geometry.type + const geoType = item.data.geometries.features[0].geometry.type; if (geoType == 'Point'||geoType == 'Circle'||geoType == 'Ellipse') { const bound = item.data.geometries.features[0].bound.coordinates; const center = $CAMIC.viewer.viewport.imageToViewportCoordinates(