GM_FindFeatures .FindNearestAddress Method |
Finds the address closest to the search location
Namespace:GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

C#
public static GM_Error_t32 FindNearestAddress ( GM_Point_t aSearchPt , GM_LayerList_t aLayerList , out string aAddressStr , uint aMaxAddressLen , double aMaxDistMeters , Object aReserved )
Parameters
- aSearchPt
-
Type:
GlobalMapper
.
GM_Point_t
IN: Search location in current view projection (as returned by GM_SetProjection) - aLayerList
-
Type:
GlobalMapper
.
GM_LayerList_t
IN: List of layers to search or NULL for all vector layers - aAddressStr
-
Type:
System
.
String
I/O: Buffer to hold string for nearest address - aMaxAddressLen
-
Type:
System
.
UInt32
IN: Maximum length of string to store in output - aMaxDistMeters
-
Type:
System
.
Double
IN: Maximum distance in meters to search around search point - aReserved
-
Type:
System
.
Object
IN: Reserved for later use, must be NULL (0)
Return Value
Type: GM_Error_t32A GM Error Code
