Show / Hide Table of Contents

Class GeocodeResource<T>

Base geocode class.

Inheritance
System.Object
Resource
GeocodeResource<T>
ForwardGeocodeResource
ReverseGeocodeResource
Inherited Members
Resource.GetUrl()
Resource.EncodeQueryString(IEnumerable<KeyValuePair<String, String>>)
Resource.GetUrlQueryFromArray<U>(U[], String)
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
Resource.ApiEndpoint

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[]
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX