AnsweredAssumed Answered

Remove graphics from graphics layer

Question asked by rajni_sharma on Mar 11, 2020
Latest reply on Mar 26, 2020 by rajni_sharma

Hi, i get the following link How to remove all graphics from view  to remove graphics from layer.

I also want  to remove all polygons from graphics layer but its not working in my case as below:

  //Clear all graphics
    jQuery('#main').on('click', '.clear_all', function(){
      view.graphics.removeAll();
    });

Outcomes