In the middle of refactoring drawing of the map.