Closed Shruthi48 closed 3 years ago
found the solution , had to add this instead
map.layers.add(environmentLayer);
the other issues were related to this.attach() not being invoked as mentioned here https://github.com/nickcam/AnimatedEnvironmentLayer/issues/8. After explicitly invoking this.attach() it started to work perfectly
Ok cool. I obviously haven't upgraded it to work with later versions of the api. Glad you got it going.
arcgis-js-api v4.20, I tried to integrate AnimatedEnvironmentLayer by adding compiled ael/animatedEnvironmentLayer.js and reference it like the other javascript esri amd modules.
when I do
I am getting the error below. Is there a way I can resolve this error?