MapBasic Styles - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

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.