globalmapper.GetPointFeature ============================ .. currentmodule:: globalmapper .. py:function:: GetPointFeature (GM_LayerHandle_t32 aLayer, uint32 aPointIndex) -> GM_PointFeature_t Returns the point feature at the given index in the layer. Returns 0 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. Any features returned from this function must be freed using a call to :doc:`FreePointFeature` when you are done accessing the feature. :param GM_LayerHandle_t32 aLayer: Layer to get point from :param uint32 aPointIndex: Index of point feature to retrieve :returns: The point feature at index *aPointIndex* within *aLayer* :rtype: GM_PointFeature_t