what happens if the layer is already added to the map?