SetLayerHeightUnits¶
- globalmapper.SetLayerHeightUnits(GM_LayerHandle_t32 aLayer, GM_ElevUnits_t8 aHeightUnits) GM_Error_t32[source]¶
Sets the height units to use for 3D vector features without a height unit in the height attribute.
- Parameters:
aLayer (GM_LayerHandle_t32) – Layer to modify
aHeightUnits (GM_ElevUnits_t8) – Height units to interpret values as
- Returns:
Error Code
- Return type:
GM_Error_t32
Example¶
The following is an example of SetLayerHeightUnits.
err_SetLayerHeightUnits = gm.SetLayerHeightUnits(
layers_list[0], gm.GM_ElevUnit_Feet
)