Show / Hide Table of Contents

Method CreateDefaultSourceAsync

| Edit this page View Source

CreateDefaultSourceAsync(CancellationToken)

Creates a LocatorSearchSource configured for use with the Esri World Geocoder service.

Declaration
public static Task<LocatorSearchSource> CreateDefaultSourceAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken

Token used for cancellation.

Returns
Type Description
Task<LocatorSearchSource>
Remarks

This method will re-use a static LocatorTask instance to improve performance.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX