Add legend
update map size on resize