Fixed an issue where Geometry viewer does not show popup when columns are less than 3. #5641
parent
33aea87dea
commit
706019d639
|
|
@ -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)];
|
||||
|
|
|
|||
Loading…
Reference in New Issue