remove a layer from protobuf map