Just to be sure, this is the code that I am using: ILayerDefinition ldef = ObjectFactory.CreateDefaultLayer(con, LayerType.Vector); string resId = new ResourceIdentifier(Guid.NewGuid().ToString(), ResourceTypes.LayerDefinition, con.SessionID); con.ResourceService.SaveResourceAs(ldef, resId);
con is of course an IServerConnection and by http. Hans... -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-create-new-empty-vector-layer-definition-tp4465014p4467973.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users