passing map to layers rendering

hhhhhBOOM