rename legend to details
add map legend