-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unload the loaded JS objects? #62
Comments
Need a bit more info. Are you using globals to share modules between the two APIs? Cross-reference: tomwayson/angular-esri-loader#35 |
As far as I know, you should not need to "unload" them as long as you are using the techniques @odoe describes in his blog post/video. I have never tried that w/ esri-loader, but it's conceivable that it could work. If you're going to try that, I'd suggest using esri-loader directly instead of using angular-esri-loader. This is b/c the latest esri-loader let's you pass the If you get that to work, I'd love it if you could share back here with your results. |
@tomwayson Thanks, I will try and share my results back. |
Closing. @digz6666 please feel free to reopen if you have follow up questions/comments. |
Is there any way to unload the loaded JS objects?
I'm using arcgis JS api 3.x and 4.x together in my project due to some features haven't ported to 4.x yet.
When I load the 4.x after the 3.x it throws error. So how should I handle this?
I'm using angularjs 5 with https://github.com/tomwayson/angular-esri-loader
The text was updated successfully, but these errors were encountered: