@dra2020/baseclient 1.0.35 → 1.0.36
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.
- package/dist/baseclient.js +3 -0
- package/dist/baseclient.js.map +1 -1
- package/lib/poly/topo.ts +7 -2
- package/package.json +1 -1
package/dist/baseclient.js
CHANGED
|
@@ -8278,12 +8278,15 @@ function getGEOID(f) {
|
|
|
8278
8278
|
f = f.features[0];
|
|
8279
8279
|
else if (Array.isArray(f))
|
|
8280
8280
|
f = f[0];
|
|
8281
|
+
else
|
|
8282
|
+
return '';
|
|
8281
8283
|
if (f.properties.id !== undefined)
|
|
8282
8284
|
return 'id';
|
|
8283
8285
|
if (f.properties.GEOID !== undefined)
|
|
8284
8286
|
return 'GEOID';
|
|
8285
8287
|
if (f.properties.GEOID10 !== undefined)
|
|
8286
8288
|
return 'GEOID10';
|
|
8289
|
+
return '';
|
|
8287
8290
|
}
|
|
8288
8291
|
function topoFromCollection(col) {
|
|
8289
8292
|
if (col == null)
|