MapBasic Styles

MapBasic styles are based on the style clauses for Pen, Brush and Symbol available in the MapBasic language. To specify a MapBasic style when requesting a map, you add the MapBasic style settings directly into the XML request.

For example, to display a ranged theme using a <MapBasicPen> style, your XML request would contain lines such as the following:



<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>

		

For information about the MapBasic style elements you can add to an XML request, see MapBasic Styles.