MapBasic Styles

When you want to specify MapBasic style elements in an XML request, you provide your style element (such as a <StartStyle> element) with a type attribute that has one of the following values:

For example:



<ns5:StartStyle xsi:type="ns6:MapBasicLineStyle"> 
    <ns6:MapBasicPen> 
        <ns6:Width>1</ns6:Width> 
        <ns6:Pattern>81</ns6:Pattern> 
        <ns6:Color>red</ns6:Color> 
    </ns6:MapBasicPen> 
</ns5:StartStyle>