That sounds strange because the map's layer collection should be a collection of MgLayerBase instances, you shouldn't need to cast it to MgdLayer to add it.
Anyways it seems your particular issue is resolved, so I won't agonize too much as to why this could be the case. - Jackie -- View this message in context: http://osgeo-org.1560.x6.nabble.com/mg-desktop-and-adding-layers-tp5207736p5207776.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
