moved pathTiler to mapLayout