Layer not visible after using the MoveLayer method of map

Discussion created by martindevos on Aug 5, 2012
Latest reply on Nov 15, 2012 by microworks
After using the MoveLayer method on a map, the moved layer is not displayed anymore.  And there is no Refresh method.
You can make it reappear by zooming or panning or toggling the visibility of it.  Is there no cleaner solution to this problem ?