After browsing through the source code, I ended up on doing it this
way:
1) Registering extended objectmodels. (using
OSGeo.MapGuide.ExtendedObjectModels;)
2) Adding all the definition-dlls into app's bin.
3) Initialising models with ModelSetup.Initialize();
- mika -
[email protected] kirjoitti 2013-12-03 16:34:
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 -
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users