The map is now able to paint itself correctly by the depth. The map also observes units, terrain and resources.

Next thing to do is to get projectiles and other items to be added to the map.