Table of Contents

Class ForwardGeocodeOptions

Namespace
Honua.Sdk.Admin.Geocoding
Assembly
Honua.Sdk.Admin.dll

Options for the forward geocode operation.

public sealed record ForwardGeocodeOptions : IEquatable<ForwardGeocodeOptions>
Inheritance
ForwardGeocodeOptions
Implements
Inherited Members

Properties

Categories

Optional categories, such as Address, POI, Postal, or custom locator categories.

public IReadOnlyList<string>? Categories { get; init; }

Property Value

IReadOnlyList<string>

CountryCodes

Restrict results to specific country codes (ISO 3166-1 alpha-3).

public IReadOnlyList<string>? CountryCodes { get; init; }

Property Value

IReadOnlyList<string>

Location

Optional point that biases candidates toward a local search origin.

public GeocodePoint? Location { get; init; }

Property Value

GeocodePoint

MagicKey

An opaque key from a prior suggest call to accelerate the lookup.

public string? MagicKey { get; init; }

Property Value

string

MaxResults

Maximum number of candidates to return. Defaults to 5.

public int? MaxResults { get; init; }

Property Value

int?

OutFields

Optional provider attribute fields to include in candidate results.

public IReadOnlyList<string>? OutFields { get; init; }

Property Value

IReadOnlyList<string>

SearchExtent

Optional extent that constrains candidates to a local area.

public GeocodeExtent? SearchExtent { get; init; }

Property Value

GeocodeExtent

SpatialReferenceWkid

The spatial reference WKID for the output geometry. Defaults to 4326 (WGS 84).

public int? SpatialReferenceWkid { get; init; }

Property Value

int?