-
Notifications
You must be signed in to change notification settings - Fork 44
svg error #1
Copy link
Copy link
Open
Description
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels