Hi,
As our customers often supply their own maps we will store the layers, projection info, the shape file references, thresholds etc in an XML file.
This will allow us to work with different map types and configurations without the need for a rebuild. [Actually the schema below may originally have come from the Desktop Edition as a different developer worked on this a few years ago for our company]
Is there a standard way of loading layers from an XML file other than coding it directly. [just trying to avoid unnecessary effort on my part really]
See schema below
<MapUnit Value="DecimalDegrees" />
<Mode Value="TrackZoomIn" />
<CompositingMode Value="SourceOver" />
<CompositingQuality Value="HighQuality" />
<SmoothingMode Value="HighQuality" />
<CoordinateSystem Value="WGS84" />
<ImageLayers />
<Layers>
<Layer>
<ThresholdUnit Value="DecimalDegrees" />
<UpperExtent Value="1000" />
<LowerExtent Value="0" />
<Label TextFieldName="COUNTY" TextAngleFieldName="" />
<PenColour Value="-16777216" />
<BrushColour Value="-4144960" />
<ShapeFile Value="F:\7ctycu.shp" />
<Layer>
Rgds,
Liam