AnsweredAssumed Answered

How to remove all graphics from view

Question asked by agole_waterboards on Oct 3, 2018
Latest reply on Oct 3, 2018 by agole_waterboards

Hi all,

Iam digging in the new API 4.X. I am not sure how to clear all graphics.

 

 

When using API 3.X we could write something like 

 

map.graphics.clear();

for the 4.X for individual graphics:

view.graphics.remove(graphlocate);

I was hoping there would be a but it does not seem to exist?

view.graphics.removeAll();

Any other techniques?

Outcomes