TTMSFNCGooglePlaces.SearchNearbySync Method
Performs a synchronous nearby search and returns the matching places.
API unit family: TMSFNCGooglePlaces
Declaring type: TTMSFNCGooglePlaces
Syntax
function SearchNearbySync(ALocation: TTMSFNCMapsCoordinateRec; AType: string = ''; ALocale: string = ''; AMode: TTMSFNCMapsLocaleMode = mlmDefault; ARadius: Double = 0): TTMSFNCPlacesRequest; overload; override;
virtual TTMSFNCPlacesRequest* __fastcall SearchNearbySync(const TTMSFNCMapsCoordinateRec &ALocation, System::UnicodeString AType = System::UnicodeString(), 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. |
ALocale |
Optional locale used for the request. |
AMode |
Locale mode controlling how the locale is applied. |
ARadius |
Search radius, in meters. |
Returns
The request containing the matching places.