set default map height also based on class