[mapguide-users] Maestro API 6 - How to convert xml to ILayerDefinition

Hans Milling hm at geograf.dk
Thu Sep 22 03:51:24 PDT 2016


Hi I am converting from Maestro API 4 to 6 and I have a problem converting
from xml file to an ILayer definition.
I used to do this:

    ILayerDefinition ldef =
(ILayerDefinition)ResourceTypeRegistry.Deserialize(ResourceTypes.LayerDefinition,
file.GetInputStream(e));

But the ResourceTypeRegistry class is not public anymore.
Has anyone found another way to do this?

Best regards
  Hans Milling...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-API-6-How-to-convert-xml-to-ILayerDefinition-tp5287254.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list