passing map to layers rendering
Merge pull request #617 from Vizzuality/refactor/map-rendering

passing map to layers rendering