We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1206e5 commit 4e822aaCopy full SHA for 4e822aa
src/leaflet/mapping/WebMap.js
@@ -1058,7 +1058,7 @@ export var WebMap = L.LayerGroup.extend({
1058
}
1059
},
1060
getAttributesObjFromTable: function (cols, colTitles) {
1061
- if (cols.length < 0 || colTitles.length < 0) {
+ if (cols.length === 0 || colTitles.length === 0) {
1062
return;
1063
1064
var attrArr = [];
src/openlayers/mapping/WebMap.js
@@ -1038,7 +1038,7 @@ export class WebMap extends ol.Observable {
1038
1039
1040
getAttributesObjFromTable(cols, colTitles) {
1041
1042
1043
1044
0 commit comments