2.234 MapLine

Applies to RDL 2010/01 and RDL 2016/01

The MapLine element specifies a line-based spatial element (for example, a street, a river, or a path) to embed in a MapLineLayer.

The following are the parent and child elements of the MapLine element.

Parent elements

MapLines

Child elements

MapLine.MapFields

MapLine.MapLineTemplate

MapLine.UseCustomLineTemplate

MapLine.VectorData

The following is the XML Schema definition of the MapLine element.

 <xsd:complexType name="MapLineType">
   <xsd:choice maxOccurs="unbounded">
     <!--MapSpatialElement Start-->
     <xsd:element name="VectorData" type="xsd:string" minOccurs="1" />
     <xsd:element name="MapFields" type="MapFieldsType" minOccurs="0" />
     <!--MapSpatialElement End-->
     <xsd:element name="UseCustomLineTemplate" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapLineTemplate" type="MapLineTemplateType" 
                  minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>