@dra2020/baseclient 1.0.78 → 1.0.79

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.
@@ -8441,6 +8441,9 @@ function polyPack(coords, prepack) {
8441
8441
  // Null feature?
8442
8442
  if (coords == null || (coords.length !== undefined && coords.length == 0))
8443
8443
  return null;
8444
+ // Null geometry?
8445
+ if (coords && coords.type === 'Feature' && coords.geometry == null)
8446
+ return null;
8444
8447
  // Actually already a PolyPack?
8445
8448
  if (coords.offset !== undefined)
8446
8449
  return coords;