Infrastructure Map Server General

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

Base Layer Group SetVisible()

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

 }

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community