Replies: 1 comment 1 reply
-
If you move the D3 tag to come first, the error goes away.
I suspect it's something to do with the UMD boilerplate of the D3 build conflicting with the Dojo runtime of ArcGIS. Good luck! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created following sample where I am loading ArcGIS Javascript API 4.27 and D3.js (ver 7) using the Script tag.
https://codepen.io/b2810s/pen/NWebbze
This gives an error on the console related to multipleDefine.
Any idea about this error? If I change the order of loading where D3.js is loaded first and then ArcGIS Javascript API 4.27.,The map is loaded successfully in that case.
What is a best practice to load D3 in such cases?
Beta Was this translation helpful? Give feedback.
All reactions