Solved the error. I should be getting the mapname from the mapdwiget. Now there is no error. But it looks like i need to refresh fusion mapwidget for the layers to effect.
Only thing now i think is to refresh the mapwidget for the layers to take effect. But it seems that layerTemp.ForceRefresh(); wont refresh the widget. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/change-layer-definition-runtime-tp5284382p5284847.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
