GetRasterDisplayOptions¶
- globalmapper.GetRasterDisplayOptions(GM_LayerHandle_t32 aLayer) GM_Error_t32, GM_RasterDisplayOptions_t [source]¶
Retrieves the options to use when displaying the given raster layer. This includes things like the translucency and transparency (if any) of the layer, the color intensity of the layer, and whether or not to crop the collar of the layer.
- Parameters:
aLayer (GM_LayerHandle_t32) – layer to get options for
- Returns:
Error Code
- Return type:
GM_Error_t32
- Returns:
Display options for raster layer
- Return type:
GM_RasterDisplayOptions_t
Example¶
The following is an example of GetRasterDisplayOptions.:
gm.GetRasterDisplayOptions(layers[i])
For more context refer to the display options/drawing sample scripts.