globalmapper.SetPointFeaturePosition

globalmapper.SetPointFeaturePosition(GM_LayerHandle_t32 aLayer, uint32 aPointIndex, GM_Point_t aPosition, bool aPosInLayerCoords) GM_Error_t32[source]

Sets the position to use for the given point feature. The position 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 point is in

  • aPointIndex (uint32) – Index of point in layer

  • aPosition (GM_Point_t) – New location of point

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

Returns:

Error Code

Return type:

GM_Error_t32