TTMSFNCGooglePlaces.SearchNearbyResult Method
Performs a nearby search and reports the result through the supplied callback.
API unit family: TMSFNCGooglePlaces
Declaring type: TTMSFNCGooglePlaces
Syntax
procedure SearchNearbyResult(ALocation: TTMSFNCMapsCoordinateRec; AType: string = ''; ACallback: TTMSFNCPlacesResultCallback = nil; AID: string = ''; ADataPointer: Pointer = nil; ALocale: string = ''; AMode: TTMSFNCMapsLocaleMode = mlmDefault; ARadius: Double = 0); override;
virtual void __fastcall SearchNearbyResult(const TTMSFNCMapsCoordinateRec &ALocation, System::UnicodeString AType = System::UnicodeString(), Fmx::Tmsfncplaces::_di_TTMSFNCPlacesResultCallback ACallback = Fmx::Tmsfncplaces::_di_TTMSFNCPlacesResultCallback(), System::UnicodeString AID = System::UnicodeString(), void * ADataPointer = (void *)(0x0), System::UnicodeString ALocale = System::UnicodeString(), TTMSFNCMapsLocaleMode AMode = (TTMSFNCMapsLocaleMode)(0x0), double ARadius = 0.000000E+00)/* overload */;
Parameters
| Name | Description |
|---|---|
ALocation |
Center coordinate of the search. |
AType |
Optional place type filter. |
ACallback |
Optional callback invoked with the search result. |
AID |
Optional identifier associated with the request. |
ADataPointer |
Optional custom pointer data associated with the request. |
ALocale |
Optional locale used for the request. |
AMode |
Locale mode controlling how the locale is applied. |
ARadius |
Search radius, in meters. |