globalmapper.GetLineFeature¶
- globalmapper.GetLineFeature(GM_LayerHandle_t32 aLayer, uint32 aLineIndex) GM_LineFeature_t [source]¶
Returns the line feature at the given index in the layer. Returns 0 if the layer does not contain a line at the given index or if a registration key was not found and aLineIndex was greater than GM_MAX_NON_REGISTERED_VECTOR_IDX.
Any features returned from this function must be freed using a call to FreeLineFeature when you are done accessing the feature.
- Parameters
aLayer (GM_LayerHandle_t32) – Layer to get line from
aLineIndex (uint32) – Index of line feature to retrieve
- Returns
The feature at index aLineIndex within aLayer
- Return type