<div dir="ltr"><div><div>Hi Emma,<br><br>when posting please always state which version of MapGuide, which Viewer etc you are using<br><br></div>Regards<br><br></div>Zac<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Tue, May 7, 2013 at 5:07 PM, Emma Schmidt <span dir="ltr"><<a href="mailto:emma.25@gmx.net" target="_blank">emma.25@gmx.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-family:Verdana;font-size:12.0px"><div>
<div>Hi all,</div>

<div> </div>

<div>I would like to change the visibility of a LayerGroupType: BaseMap. It's not working as I accepted. My Legend works fine, if I change the visibility of the BasMap Group nothing happen until I zoom to a different Scale using the statusbar. If I do, the BaseMapGroup visibility is like it should be. But I need this after changing the visibility not after another step of zooming.</div>



<div>Zooming to a different Scale using the viewer api doesn't work…..</div>

<div> </div>

<div>I can't find something in the web api, which says that is not possible to change the visibility at all.</div>

<div>I also tried to change the visibility by using the web api, but that’s not a valid request</div>

<div> </div>

<div>Dim layer_base As MgLayerBase = map.GetLayers.Item(51)</div>

<div>        layer_base.SetVisible(False)</div>

<div> </div>

<div> </div>

<div>Thanks for all replies</div>
</div></div></div>
<br>_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Zac Spitzer<br>Solution Architect / Director<br>Ennoble Consultancy Australia<br>+61 405 847 168<br><br>
</div>