SetLineFeaturePointList

globalmapper.SetLineFeaturePointList(GM_LayerHandle_t32 aLayer, uint32 aLineIndex, GM_Point_t aPointList, bool aPosInLayerCoords) GM_Error_t32[source]

Sets the list of point locations to use for the given line feature. The positions can either be specified in the native projection system of the layer (aPosInLayerCoords is TRUE) or in the current projection as returned by GetProjection (aPosInLayerCoords is FALSE).

Parameters:
  • aLayer (GM_LayerHandle_t32) – Layer the line is in

  • aLineIndex (uint32) – Index of line in layer

  • aPointList (GM_Point_t) – New list of points for line

  • aPosInLayerCoords (bool) – Are the position in the layer coordinate system or the current coordinate system?

Returns:

Error Code

Return type:

GM_Error_t32