I have a graphics layer and I'd like to add a graphic behind the existing graphics. I've come up with this:
graphicsLayer.add(overlay.graphic);
graphicsLayer.graphics.unshift(graphicsLayer.graphics.pop());
But I have to pan the markers off the screen and then pan them back into view before the 'unshift'-ed graphics display correctly. I've tried calling refresh without any affect:
graphicsLayer.refresh();
How can this be done without introducing a second graphics layer?