178179180181182183184185
// Change the order: layers.add(index, layer); mapInfo.getLayers().add(index, layerInfo); // Send out the correct event: eventBus.fireEvent(new LayerOrderChangedEvent(currentIndex, index)); return true; }