@dra2020/baseclient 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1359,6 +1359,10 @@ function geoEnsureID(col) {
1359
1359
  prop = p; });
1360
1360
  if (prop)
1361
1361
  col.features.forEach(f => { f.properties.id = f.properties[prop]; });
1362
+ else {
1363
+ let n = 1;
1364
+ col.features.forEach(f => { f.properties.id = String(n++); });
1365
+ }
1362
1366
  }
1363
1367
  }
1364
1368
  exports.geoEnsureID = geoEnsureID;