Topo: Suppress lat and long in details panel if null
JIRA Tasks; ONOS-6328

Change-Id: I3dcf1e28c3150c01dd4f50c9e5bc0f91bec45de6
diff --git a/web/gui/src/main/webapp/app/view/topo/topoPanel.js b/web/gui/src/main/webapp/app/view/topo/topoPanel.js
index f5d1cbd..32d3420 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoPanel.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoPanel.js
@@ -174,6 +174,14 @@
     }
 
     function listProps(tbody, data) {
+
+        // Suppress Lat Long in details panel if null
+        if (data.props.Latitude === null ||
+            data.props.Longitude === null) {
+            var idx = data.propOrder.indexOf('Latitude');
+            data.propOrder.splice(idx, 3);
+        }
+
         data.propOrder.forEach(function (p) {
             if (p === '-') {
                 addSep(tbody);