<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi, sry...I'm using MG 2.5 (64bit) and the mapviewernet (.NET)</div>
<div> </div>
<div>Thanks</div>
<div>
<div name="quote" style="border-left: #c3d9e5 2px solid; padding-bottom: 10px; margin: 10px 5px 5px 10px; padding-left: 10px; padding-right: 0px; word-wrap: break-word; padding-top: 10px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<div style="margin: 0px 0px 10px"><b>Gesendet:</b> Dienstag, 07. Mai 2013 um 09:09 Uhr<br/>
<b>Von:</b> "Zac Spitzer" <zac.spitzer@gmail.com><br/>
<b>An:</b> "MapGuide Users Mail List" <mapguide-users@lists.osgeo.org><br/>
<b>Betreff:</b> Re: [mapguide-users] SetVisible from a BaseLayer or MgLayerGroupType=BaseMap</div>
<div name="quoted-content">
<div>
<div>
<div>Hi Emma,<br/>
<br/>
when posting please always state which version of MapGuide, which Viewer etc you are using<br/>
</div>
Regards<br/>
</div>
Zac</div>
<div class="gmail_extra"><br/>
<div class="gmail_quote">On Tue, May 7, 2013 at 5:07 PM, Emma Schmidt <span><<a href="emma.25@gmx.net" target="_parent">emma.25@gmx.net</a>></span> wrote:
<blockquote class="gmail_quote" style="border-left: rgb(204,204,204) 1px solid; margin: 0px 0px 0px 0.8ex; padding-left: 1ex">
<div>
<div style="font-family: Verdana; font-size: 12px">
<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="mapguide-users@lists.osgeo.org" target="_parent">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/>
</blockquote>
</div>
<br/>
<br clear="all"/>
<br/>
--<br/>
Zac Spitzer<br/>
Solution Architect / Director<br/>
Ennoble Consultancy Australia<br/>
+61 405 847 168<br/>
</div>
</div>
</div>
</div>
</div></div></body></html>