// update flash map private void updateFlashMap(string layerID) { MapFilter mapFilterSmall; MapFilter mapFilterExpanded; String header; if (String.IsNullOrEmpty(layerID)) //clear map { mapFilterSmall = new MapFilter(); mapFilterSmall.Layers = layerID; mapFilterExpanded = mapFilterSmall; header = ""; } else { DiffuseSources.Map map = DiffuseSources.GetMap(layerID); mapFilterSmall = map.MapFilterSmall; mapFilterExpanded = map.MapFilterExpanded; header = map.GetTitleFull(); } MapUtils.UpdateDiffuseMap(MAPID, Page, Page.ClientID, mapFilterSmall, "", Request.ApplicationPath); // ((MasterSearchPage)this.Master).UpdateExpandedScript(mapFilterExpanded, header); }
private void updateSubHeader(DiffuseSources.Map map) { // populate header Dictionary <string, string> header = new Dictionary <string, string>(); header.Add(Resources.GetGlobal("DiffuseSources", "Map"), map.GetTitleFull()); this.ucSheetSubHeader.PopulateHeader(header); }