Click or drag to resize

GM_Layer_tCreateCustomRasterLayer Method

Creates a new custom layer for an in-memory raster 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 CreateCustomRasterLayer(
	string aDescription,
	GM_Projection_t aProj,
	GM_RasterLayout_t aRasterLayout,
	IntPtr aDataBuf
)

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
aRasterLayout
Type: GlobalMapperGM_RasterLayout_t
IN: Raster layer layout
aDataBuf
Type: SystemIntPtr
(const void*) IN: Grid of raster data values in row-major order

Return Value

Type: GM_Layer_t
A Custom Raster Layer
See Also