[mapguide-users] LayerDefinition other than 1.0.0

mika at digikartta.net mika at digikartta.net
Tue Dec 3 06:34:59 PST 2013


Could you please help me a little bit with these layer definition 
constructions..
Maestro 5

This works:

Version version = new Version(1, 0, 0);
ILayerDefinition layerDefinition = 
ObjectFactory.CreateDefaultLayer(this.mgSiteConn, LayerType.Vector, 
version);

But if I change it other than 1.0.0, it'll crash: unknown version..
Same with the ResourceObjectConverter. So, how should it be done?

- mika -


More information about the mapguide-users mailing list