Skip to main content
Table of Contents

TTMSFNCGooglePlaces.SearchNearby Method

Starts an asynchronous nearby search for places.

API unit family: TMSFNCGooglePlaces Declaring type: TTMSFNCGooglePlaces

Syntax

FMX.TMSFNCGooglePlaces.hppPascalC++
procedure SearchNearby(ALocation: TTMSFNCMapsCoordinateRec; AType: string = ''; ACallback: TTMSFNCPlacesCallback = nil; AID: string = ''; ADataPointer: Pointer = nil; ALocale: string = ''; AMode: TTMSFNCMapsLocaleMode = mlmDefault; ARadius: Double = 0); override;
virtual void __fastcall SearchNearby(const TTMSFNCMapsCoordinateRec &ALocation, System::UnicodeString AType = System::UnicodeString(), Fmx::Tmsfncplaces::_di_TTMSFNCPlacesCallback ACallback = Fmx::Tmsfncplaces::_di_TTMSFNCPlacesCallback(), 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 when the request completes.
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.