Class GeocodeSuggestion
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
TextstringThe suggestion display text.
MagicKeystringAn opaque key that can be passed back to forward geocode for faster lookup.
IsCollectionboolWhether the suggestion represents a collection of results.
Properties
IsCollection
Whether the suggestion represents a collection of results.
public bool IsCollection { get; init; }
Property Value
MagicKey
An opaque key that can be passed back to forward geocode for faster lookup.
public string MagicKey { get; init; }
Property Value
Text
The suggestion display text.
public string Text { get; init; }