globalmapper.CreateVectorLayerFromFindResults ============================================= .. currentmodule:: globalmapper .. py:function:: CreateVectorLayerFromFindResults (str aDescription, GM_Projection_t aProj, GM_FoundFeatureResults_t aResultList) -> GM_LayerHandle_t32 Creates a new custom layer from a list of vector features returned from a find call, like :doc:`FindFeaturesInArea<../vectorQuery/globalmapper.FindFeaturesInArea>`. The handle to the newly created layer is returned. You must call :doc:`CloseLayer<../load/globalmapper.CloseLayer>` on the returned handle when you are done with it. If a problem occurs, 0 is returned for the layer handle. :param str aDescription: Description to use for layer (can be None to use default) :param GM_Projection_t aProj: Native projection of new layer :param GM_FoundFeatureResults_t aResultList: Results of find operation to create new layer from :returns: The new vector layer of found features :rtype: GM_LayerHandle_t32