AnsweredAssumed Answered

moveToFront()/moveToBack()

Question asked by koliter on Jan 30, 2015
Latest reply on Jan 31, 2017 by fcbassongis

Hi, I am currently in need of functions who can do the same thing as "graphic".getDojoShape().moveToFront() and "graphic".getDojoShape().moveToBack() functions. But I need to keep track of the Z-index of the graphics that are being reordered. Any ideas of how I could achieve that? Only in Javascript or jquery, no java. Is there a way I can access to the code of those two functions? Or know what do they change/reorder and where is it in the object map.graphics.

 

I need to keep track because I need to revert it back sometimes. So I need to revert it to the correct position.

 

If i know where I can make myself a function. I just can figure out what is changing. Because it doesn't reorder the graphics object.

 

 

Thank you for your time!
Koliter

Outcomes