Hi, sry...I'm using MG 2.5 (64bit) and the mapviewernet (.NET)
Thanks
Gesendet: Dienstag, 07. Mai 2013 um 09:09 Uhr
Von: "Zac Spitzer" <[email protected]>
An: "MapGuide Users Mail List" <[email protected]>
Betreff: Re: [mapguide-users] SetVisible from a BaseLayer or MgLayerGroupType=BaseMap
Von: "Zac Spitzer" <[email protected]>
An: "MapGuide Users Mail List" <[email protected]>
Betreff: Re: [mapguide-users] SetVisible from a BaseLayer or MgLayerGroupType=BaseMap
Hi Emma,
when posting please always state which version of MapGuide, which Viewer etc you are using
Regardswhen posting please always state which version of MapGuide, which Viewer etc you are using
On Tue, May 7, 2013 at 5:07 PM, Emma Schmidt <[email protected]> wrote:
Hi all,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.Zooming to a different Scale using the viewer api doesn't work…..I can't find something in the web api, which says that is not possible to change the visibility at all.I also tried to change the visibility by using the web api, but that’s not a valid requestDim layer_base As MgLayerBase = map.GetLayers.Item(51)layer_base.SetVisible(False)Thanks for all replies
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
