passing map to layers rendering

maybe use a URI Template here.