Added 3D support in the map creator