Fixed an issue where Geometry viewer does not show popup when columns are less than 3. #5641

This commit is contained in:
Aditya Toshniwal 2023-01-03 10:28:03 +05:30 committed by GitHub
parent 33aea87dea
commit 706019d639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,7 +158,7 @@ function parseData(rows, columns, column) {
});
let getPopupContent;
if (columns.length >= 3) {
if (columns.length >= 2) {
// add popup when geometry has properties
getPopupContent = function (geojson) {
let geometry = selectedGeometries[geoJSONs.indexOf(geojson)];