Skip to main content
Table of Contents

TTMSFNCGooglePlaces.SearchByTextSync Method

Performs a synchronous text search and returns the matching places.

API unit family: TMSFNCGooglePlaces Declaring type: TTMSFNCGooglePlaces

Syntax

FMX.TMSFNCGooglePlaces.hppPascalC++
function SearchByTextSync(ASearch: string; ALocation: TTMSFNCMapsCoordinateRec; ALocale: string = ''; AMode: TTMSFNCMapsLocaleMode = mlmDefault): TTMSFNCPlacesRequest; overload; override;
virtual TTMSFNCPlacesRequest* __fastcall SearchByTextSync(System::UnicodeString ASearch, const TTMSFNCMapsCoordinateRec &ALocation, System::UnicodeString ALocale = System::UnicodeString(), TTMSFNCMapsLocaleMode AMode = (TTMSFNCMapsLocaleMode)(0x0))/* overload */;

Parameters

Name Description
ASearch Text to search for.
ALocation Center coordinate used to bias the search.
ALocale Optional locale used for the request.
AMode Locale mode controlling how the locale is applied.

Returns

The request containing the matching places.