public ProjectLocationsMapViewData(string mapDivID, ProjectFirmaModels.Models.FieldDefinition legendTitleFieldDefinition, List <TaxonomyTier> topLevelTaxonomyTiers, bool showProposals, bool legendAboveMap = false) { MapDivID = mapDivID; LegendTitleFieldDefinition = legendTitleFieldDefinition; LegendFormats = ProjectMapLegendElement.BuildLegendFormatDictionary(topLevelTaxonomyTiers, showProposals); LegendAboveMap = legendAboveMap; }
public ProjectLocationsMapViewData(string mapDivID, string legendTitle, List <ITaxonomyTier> topLevelTaxonomyTiers, bool showProposals) { MapDivID = mapDivID; LegendTitle = legendTitle; LegendFormats = ProjectMapLegendElement.BuildLegendFormatDictionary(topLevelTaxonomyTiers, showProposals); }