Click or drag to resize

GM_CreateVectorLayerFromFindResults

Creates a new custom layer from a list of vector features returned from a find call, like GM_FindFeaturesInArea. The handle to the newly created layer is returned. You must call GM_CloseLayer on the returned handle when you are done with it. If a problem occurs, NULL is returned for the layer handle.

Syntax
GM_DLL_EXPORTED GM_LayerHandle_t32 __stdcall GM_CreateVectorLayerFromFindResults
(
const char*                     aDescription,   // IN: Description to use for layer (can be NULL to use default)
const GM_Projection_t*          aProj,          // IN: Native projection of new layer
const GM_FoundFeatureResults_t* aResultList     // OUT: Results of find operation (use GM_FreeFeatureResultList to free when done)
)