added map legend, styled map ranking