Click or drag to resize

GM_GetPointFeatureEx

Returns the point feature at the given index in the layer. Returns NULL if the layer does not contain an point at the given index or if a registration key was not found and aPointIndex was greater than GM_MAX_NON_REGISTERED_VECTOR_IDX.

Using the aFlags parameter you can control whether the coordinates for the features are returned in the native projection of the layer or in the current set projection. You can also indicate that you don't want the coordinates at all.

Any features returned from this function must be freed using a call to GM_FreePointFeature when you are done accessing the the feature.

Syntax
GM_DLL_EXPORTED GM_PointFeature_t* __stdcall GM_GetPointFeatureEx
(
GM_LayerHandle_t32      aLayer,             // Layer to get point from
uint32                  aPointIndex,        // Index of point feature to retrieve
GM_GetFeatureFlags_t32  aFlags,             // Flags for getting feature
void*                   aReserved           // Reserved for future use, must be 0
);