Skip to content
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

Allow drag false in ac-toolbar causing error in Routing. #217

Closed
pratimakulkarni opened this issue Mar 7, 2018 · 0 comments · Fixed by #218
Closed

Allow drag false in ac-toolbar causing error in Routing. #217

pratimakulkarni opened this issue Mar 7, 2018 · 0 comments · Fixed by #218

Comments

@pratimakulkarni
Copy link

Hello,
I have added on cesium map. Allow Drag property is set as false , as i don't want it.
Now if i route to another page , then there is error caused due to allow drag. It throws error as follows.

TypeError: Cannot read property 'unsubscribe' of undefined at AcToolbarComponent.ngOnDestroy (angular-cesium.js?9eb6:10163).
Problem is in angular-cesium.js , where its unsubscribing this.subscription which is undefined as its not true.
I have added screen shot of the code in angular-cesium.js where its causing problem.
Please let me know if there is any solution for this. Thanks.
chrome_2018-03-07_12-29-10

eitanfr added a commit that referenced this issue Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant