GM_Layer_tLoadLayer Method |
Loads a Data File (deprecated)
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static GM_Layer_t LoadLayer(
string aFilename,
GM_LoadFlags_t32 aLoadFlags =
)
Parameters
- aFilename
- Type: SystemString
The Path to the file to be loaded - aLoadFlags (Optional)
- Type: GlobalMapperGM_LoadFlags_t32
Flags for load options
Return Value
Type:
GM_Layer_tThe Loaded Layer
Remarks
Loads the given file and returns a layer handle. The layer
handle can be used in other calls into the library. The layer must be closed by
calling GM_CloseLayer when the caller is done using it.
This function is deprecated. You should use
GM_LayerList_t.LoadLayerList as it supports
multiple layers being loaded from a single file (this is common with archive
files like .zip and .tar.gz as well as multi-map formats like CADRG).
See Also