Click or drag to resize

GM_SetLineFeatureDrawStyle

Sets the pen style and font to use for drawing the given line object. Pass NULL for the line style to reset the drawing style to the default style for the classification of the line.

Typically, when modifying the drawing style of a line you'll want to call GM_GetLineFeature to get the current drawing style, then copy the mLineStyle member of the GM_LineFeature_t and just change what you need, then pass your copy in to this function.

Syntax
GM_Error_t32 GM_SetLineFeatureDrawStyle
(
GM_LayerHandle_t32      aLayer,             // Layer the line is in
uint32                  aLineIndex,         // Index of line in layer
const GM_LineStyle_t*   aLineStyle          // New style to use for line
);