deleted function eraseMapObject