Class GeocodeResource<T>
Base geocode class.
Inherited Members
Namespace:Mapbox.Geocoding
Assembly:Mapbox.Geocoding.dll
Syntax
public abstract class GeocodeResource<T> : Resource
Type Parameters
Name | Description |
---|---|
T | Type of Query field (either string or LatLng). |
Fields
FeatureTypes
A List of all possible geocoding feature types.
Declaration
public static readonly List<string> FeatureTypes
Field Value
Type | Description |
---|---|
List<System.String> |
Properties
ApiEndpoint
Gets the API endpoint as a partial URL path.
Declaration
public override string ApiEndpoint { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Mode
Gets the mode.
Declaration
public string Mode { get; }
Property Value
Type | Description |
---|---|
System.String |
Query
Gets or sets the query.
Declaration
public abstract T Query { get; set; }
Property Value
Type | Description |
---|---|
T |
Types
Gets or sets which feature types to return results for.
Declaration
public string[] Types { get; set; }
Property Value
Type | Description |
---|---|
System.String[] |