Geomap: legend enhancements

This should all be done with regular text concatenation before turning into an object. jQuery appends are very expensive operations in comparison to string concatenation.