issue: https://github.com/Norwegian-marine-datacentre/mareano/issues/145 Getting legend data for saved maps. TODO: get info about layer. Also some housecleaning of dead code.