MgLocalizer
Butler, Juan P
jpbutler at co.pinellas.fl.us
Tue May 9 12:49:33 EDT 2006
I'm having some problems with some code that I'm using for creating buffers. It seems to happen when I access the MgLocalizer class. For example:
This does not work.
//Create the schema
MgFeatureSchema schema = new MgFeatureSchema("BufferSchema", MgLocalizer.GetString("BUFFERSCHEMADESCR", locale));
schema.GetClasses().Add(classDef);
I get an "Object Reference not found..." error.
-------------------------------------------------------------------------------------
This does work.
//Create the schema
MgFeatureSchema schema = new MgFeatureSchema();
schema.SetName("BufferSchema");
schema.GetClasses().Add(classDef);
Any info is appreciated.
- Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20060509/41cef85f/attachment.html
More information about the Mapguide_users
mailing list