Table of Contents

Class GeocodeSuggestion

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

A suggestion returned from the suggest/autocomplete endpoint.

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

Constructors

GeocodeSuggestion(string, string, bool)

A suggestion returned from the suggest/autocomplete endpoint.

public GeocodeSuggestion(string Text, string MagicKey, bool IsCollection)

Parameters

Text string

The suggestion display text.

MagicKey string

An opaque key that can be passed back to forward geocode for faster lookup.

IsCollection bool

Whether the suggestion represents a collection of results.

Properties

IsCollection

Whether the suggestion represents a collection of results.

public bool IsCollection { get; init; }

Property Value

bool

MagicKey

An opaque key that can be passed back to forward geocode for faster lookup.

public string MagicKey { get; init; }

Property Value

string

Text

The suggestion display text.

public string Text { get; init; }

Property Value

string