[mapguide-users] Change layer label doesn't work

Peter Filip reklamama at centrum.sk
Mon Feb 23 07:34:15 EST 2009


I'm trying to change a label but without any success..

MgLayerCollection vrstvy = map.GetLayers();
vrstva1 = (MgLayer)vrstvy.GetItem(1);

vrstva1.LegendLabel = cinnost;

vrstva1.SetVisible(true);
vrstva1.ForceRefresh();

map.Save(resourceService);


and then i refresh the map,and the label is the same as before..
-- 
View this message in context: http://n2.nabble.com/Change-layer-label-doesn%27t-work-tp2371846p2371863.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list