Class SuggestOptions
Options for the suggest/autocomplete operation.
public sealed record SuggestOptions : IEquatable<SuggestOptions>
- Inheritance
-
SuggestOptions
- Implements
- Inherited Members
Properties
Categories
Optional categories, such as Address, POI, Postal, or custom locator categories.
public IReadOnlyList<string>? Categories { get; init; }
Property Value
CountryCodes
Restrict suggestions to specific country codes (ISO 3166-1 alpha-3).
public IReadOnlyList<string>? CountryCodes { get; init; }
Property Value
Location
Optional point that biases suggestions toward a local search origin.
public GeocodePoint? Location { get; init; }
Property Value
MaxResults
Maximum number of suggestions to return. Defaults to 5.
public int? MaxResults { get; init; }
Property Value
- int?
SearchExtent
Optional extent that constrains suggestions to a local area.
public GeocodeExtent? SearchExtent { get; init; }