Select to view content in your preferred language

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

358
0
06-12-2017 08:42 AM
deleted-user-6W3sI5mzODmY
Deactivated User

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?

Tags (2)
0 Kudos
0 Replies