Example JSON
{
"styleDetails": [
{
"themeList": {
"theme": [
{
"type": "OverrideTheme",
"style": {
"type": "MapBasicCompositeStyle",
"LineStyle": {
"type": "MapBasicLineStyle",
"MapBasicPen": {
"width": 2,
"pattern": 93,
"color": "2277103",
"unit": "PIXEL"
}
}
}
}
]
}
}
]
}A style of type MapBasicLineStyle specifies the visual characteristics of a line. The style can contain a MapBasicPen element.
MapBasicPen
The MapBasicPen element defines a style for a linear object such as a line, polyline arc, or the border of a region. The following table lists the elements that can be contained by a MapBasicPen element.
| Element | Description |
|---|---|
| Width |
An integer value from 0 to 7 specifying the thickness of the line (in pixels). To create an invisible line style, specify a width of 0 and a pattern value of 1. |
| Pattern |
An integer value from 1 to 118 specifying the line pattern. For more information about the available line patterns, and corresponding pattern codes, see Line Pattern Codes. |
| Color |
A string or numeric value specifying the color of the symbol. This can be in one of 4 formats. Hex - "color": "#E0AB8B", Decimal - "color": 14723979 RGB - "color": "rgb(224,171,139)" CSS - "color": "olive" The CSS name value must be one of the 16 original CSS 1.0 colors. For more information, see Web Colors. |