AnsweredAssumed Answered

4.3 how does map/api determine whether or not to redraw a layer

Question asked by CHONKM@nt.dot.state.il.us_IDOT on Jun 12, 2017

I'm having an issue of a layer not clearing its graphics after calling removeAll if I'm also adding a new graphic in the same call.  It will clear fine if I'm not adding a new graphic.

 

I've had other issues where I am changing a property in the graphic but the map does not redraw the graphic.  I can work around this issue by creating a new instance of the graphic and copying over the properties.  

 

Is there a way to manually redraw a layer?

Outcomes