Problem:
The images (IKONOS) that are "Base Layer Groups" on my code do not show on map, just when I click on Zoom Button....
Code:
MgLayerGroup tmpGrupo = null;
tmpGrupo = utility.getGroupByName(sMapa, sGrupo);
bool sViIn = false;
if (tmpGrupo.IsVisible() == null)
{
sViIn =
false;
}
else
{
sViIn =
true;
}
tmpGrupo.SetVisible(sViIn);
sMapa.Save(resService);
string popupScript = "top.document.frmMapa.mapFrame.Refresh();";
String csname1 = "PopupScript";
Type cstype = this.GetType();
ClientScriptManagercs = Page.ClientScript;
if(!cs.IsStartupScriptRegistered(cstype, csname1))
{
ScriptManager.RegisterStartupScript(this, this.GetType(), "alertscript", popupScript, true);
}