Click or drag to resize

GM_Layer_tCreateCustomElevGridLayer Method

Creates a new custom layer for an in-memory elevation grid (not implemented on WinCE)

Namespace:  GlobalMapper
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
C#
public static GM_Layer_t CreateCustomElevGridLayer(
	string aDescription,
	GM_Projection_t aProj,
	GM_GridLayout_t aGridLayout,
	IntPtr aElevGrid,
	Object aReserved
)

Parameters

aDescription
Type: SystemString
IN: Description to use for layer (can be NULL to use default)
aProj
Type: GlobalMapperGM_Projection_t
IN: Native projection of new layer
aGridLayout
Type: GlobalMapperGM_GridLayout_t
IN: Grid layer layout and type
aElevGrid
Type: SystemIntPtr
(void*) IN: Grid of elevation values in row-major order
aReserved
Type: SystemObject
IN: Reserved for future use (must be NULL)

Return Value

Type: GM_Layer_t
A Custom Elevation Grid Layer
See Also