You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gio.min.js:2 Uncaught TypeError: Cannot read property 'center' of undefined
at C (gio.min.js:2)
at gio.min.js:2
at Object.v [as createGeometry] (gio.min.js:2)
at P.processDetail (gio.min.js:4)
at P.a.process (gio.min.js:4)
at q.a.process (gio.min.js:4)
at D.a.process (gio.min.js:4)
at V.a.process (gio.min.js:4)
at l.a.process (gio.min.js:4)
at o (gio.min.js:2)
My strong suspicion is that one or more of the Alpha2 codes I passed in is unrecognized. But this error message doesn't tell me which one.
Does anyone happen to know what this error message tends to mean in giojs?
The text was updated successfully, but these errors were encountered:
I hackily resolved my problem by taking the sample data in examples/data/sampleData.json and doing a set difference with the ISO Alpha2 codes in that file vs the ISO Alpha2 codes in mine.
The unsupported Alpha2s were:
{'CC', 'EU', 'HK', 'MO', 'SX'}
My suggestion: When an Alpha2 isn't recognized, throw an error like:
When I load in some data I constructed (gist), I get an error.
My strong suspicion is that one or more of the Alpha2 codes I passed in is unrecognized. But this error message doesn't tell me which one.
Does anyone happen to know what this error message tends to mean in giojs?
The text was updated successfully, but these errors were encountered: