Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

Reply
Active Member
ambarboza
Posts: 7
Registered: ‎03-27-2012
Message 1 of 1 (1,127 Views)

Base Layer Group SetVisible()

1127 Views, 0 Replies
06-20-2012 11:16 AM

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);

 }

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.