[mapguide-users] GetClassDefinition error

Peter Filip reklamama at centrum.sk
Mon Feb 9 05:06:17 EST 2009


I'm trying to get a class definition for a layer.

I'm using this code:

MgLayer layer = (MgLayer)map.GetLayers().GetItem("cc_useky");
MgClassDefinition def = layer.GetClassDefinition();

I get all the time this error 

OSGeo.MapGuide.MgClassNotFoundException: The specified class was not found.

Am I doing something wrong ?
View this message in context: http://n2.nabble.com/GetClassDefinition-error-tp2296515p2296515.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list