0

I am using CreateJs for drawing world map and clearing that points using

stage.removeAllChildren();
stage.update();

methods in my angular application.

Those methods are working but after using the maps for some time my application performance is decreasing drastically. Is there any way to make the performance better.

Checked this Easel.js stage.clear() not working

Durga
  • 15,263
  • 2
  • 28
  • 52
  • Removing children will prevent the stage from drawing content, but are you cleaning up other things? References, event listeners, tickers, etc? – Lanny Aug 31 '17 at 15:35
  • @Lanny After removing children i am able to draw content.But after using it a while its perfomance is decreasing.Can u tell me how to clean up other things. – VAMSEE MOHAN KRISHNA Sep 01 '17 at 09:39
  • It is very dependent on your code and what you are doing. Have you tried profiling the app? – Lanny Sep 01 '17 at 17:35
  • `@Lanny` after removing all eventListeners on stage it is giving better perfomance. Thanks for your solution. – VAMSEE MOHAN KRISHNA Sep 02 '17 at 05:11

0 Answers0