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
thank you for the great resource you've created!!!
I'd appreciate help resolving this error:
in svg-world-map.js
// Wait for asynchronous svg load
svg.addEventListener("load", async () => {
let promise2 = new Promise(resolve2 => {
// Set SVG base node
baseNode = svg.getSVGDocument().children[0];
// Startup SVG path traversing, then country sorting, followed by click handlers, etc.
initMapCountries();
svg-world-map.js:87 Uncaught (in promise) TypeError: Cannot read property 'children' of null
at svg-world-map.js:87
at new Promise ()
at HTMLObjectElement. (svg-world-map.js:85)
The text was updated successfully, but these errors were encountered:
Hi,
thanks for trying out the map and sorry for the late answer!
There's a new version online (with some changes in the loading logic).
Maybe this fixes the issue - otherwise please let me know the OS and browser (+ version) you were using.
thank you for the great resource you've created!!!
I'd appreciate help resolving this error:
in svg-world-map.js
// Wait for asynchronous svg load
svg.addEventListener("load", async () => {
let promise2 = new Promise(resolve2 => {
// Set SVG base node
baseNode = svg.getSVGDocument().children[0];
// Startup SVG path traversing, then country sorting, followed by click handlers, etc.
initMapCountries();
svg-world-map.js:87 Uncaught (in promise) TypeError: Cannot read property 'children' of null
at svg-world-map.js:87
at new Promise ()
at HTMLObjectElement. (svg-world-map.js:85)
The text was updated successfully, but these errors were encountered: