[mapguide-users] LayerDefinition other than 1.0.0
mika at digikartta.net
mika at digikartta.net
Tue Dec 3 09:54:20 PST 2013
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 -
mika at digikartta.net 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
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list