- globalmapper.SetElevationOverrides(GM_LayerHandle_t32 aLayer, GM_ElevationOverrides_t aOptions) GM_Error_t32[source]
-
Sets the elevation adjustment options that are currently being applied to a given elevation layer. You should typically first call GetElevationOverrides to get the current elevation adjustments for a layer, then change the appropriate options, then call this to modify the adjustments for the layer.
- Parameters:
-
aLayer (GM_LayerHandle_t32) – layer to set options for
aOptions (GM_ElevationOverrides_t) – elevation adjustment options for raster layer
- Returns:
-
Error Code
- Return type:
-
GM_Error_t32
Example
The following is an example of SetElevationOverrides.:
gm.SetElevationOverrides(layers_list[0], overrides)
For more context refer to the display options/drawing sample scripts.
Comments
0 comments
Please sign in to leave a comment.