globalmapper.SetLayerElevationUnits

globalmapper.SetLayerElevationUnits(GM_LayerHandle_t32 aLayer, GM_ElevUnits_t8 aElevUnits) GM_Error_t32[source]

Sets the elevation units to use for terrain, Lidar, and 3D vector features without an elevation unit in the elevation attribute.

Parameters
  • aLayer (GM_LayerHandle_t32) – Layer to modify

  • aElevUnits (GM_ElevUnits_t8) – Elevation units to interpret values as

Returns

Error Code

Return type

GM_Error_t32