Hi, I use the removeMapLayer but I have a problem. With addMapLayer, the layer is added to the legend too but with removeMapLayer the layer isn't remove from legend. Can someone tell me how to remove a layer from the legend ? Thanks Steff