private void DisplayLegend(MarkerList markerList) { var mapLegend = mapRepository.GetMapLegends(markerList); MessageSender.Send(new SendLegendListMessage(mapLegend)); }