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;
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.