Infrastructure Map Server General

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

Base Layer Group SetVisible()

1098 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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community