[mapguide-users] Adding layer to runtimemap
Kenneth Skovhede, GEOGRAF A/S
ks at geograf.dk
Thu Jul 30 02:58:04 EDT 2009
Indeed it is.
You need to change line 1545 of the file
public static readonly string SchemaName = "LayerDefinition-1.2.0.xsd";
public static readonly string SchemaName = "LayerDefinition-1.3.0.xsd";
I will put that fix in trunk, but for now you can use it if you compile
This also means that you cannot save 1.3.0 layers from Maestro.
Regards, Kenneth Skovhede, GEOGRAF A/S
Gunter Becker skrev:
> I'm trying to add a layer to the runtimemap using the MaestroAPI:
> MapLayerType layer = layerArray[layerName];
> RuntimeMapLayer runMapLayer = new RuntimeMapLayer(layer);
> On creating the RuntimeMapLayer I get the following Error:
> error in XML document (2,117)
> I suppose it's the same error like in this
> thread and therefore I build the MaestroAPI.dll
> from trunk as mentioned there. But the error still remains.
> Any idea?
> Thanks, Gunter
More information about the mapguide-users