MOB-2275 Calculate background color for map tiles' sets

if it is a simple regexp
why not to pass only key
attribution: createAttributionText(mapData)

and in renderTemplate soround it with {{ }}

plus why sometimes {{ and sometimes {{{ if it is a simple regexp?

I would also consider dropping {{ in favour of something custom so people don't confuse it with mustache/handlebars.