Show / Hide Table of Contents

Class Feature

A GeoJSON FeatureCollection of points returned by geocoding API.

Inheritance
System.Object
Feature
Namespace:Mapbox.Geocoding
Assembly:Mapbox.Geocoding.dll
Syntax
public class Feature : object

Properties

Address

Gets or sets the address.

Declaration
public string Address { get; set; }
Property Value
Type Description
System.String

Bbox

Gets or sets the bbox.

Declaration
public Vector2dBounds? Bbox { get; set; }
Property Value
Type Description
System.Nullable<Vector2dBounds>

The bbox.

Center

Gets or sets the center.

Declaration
public Vector2d Center { get; set; }
Property Value
Type Description
Vector2d

The center.

Context

Gets or sets the context.

Declaration
public List<Dictionary<string, string>> Context { get; set; }
Property Value
Type Description
List<Dictionary<System.String, System.String>>

The context.

Geometry

Gets or sets the geometry.

Declaration
public Geometry Geometry { get; set; }
Property Value
Type Description
Geometry

The geometry.

Id

Gets or sets the id. Ids are unique in the Mapbox geocoder.

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String

The id.

PlaceName

Gets or sets the name of the place.

Declaration
public string PlaceName { get; set; }
Property Value
Type Description
System.String

The name of the place.

Properties

Gets or sets the properties.

Declaration
public Dictionary<string, object> Properties { get; set; }
Property Value
Type Description
Dictionary<System.String, System.Object>

The properties.

Relevance

Gets or sets the relevance.

Declaration
public double Relevance { get; set; }
Property Value
Type Description
System.Double

The relevance.

Text

Gets or sets the text.

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

The text.

Type

Gets or sets feature type. One of country, region, postcode, place, locality, neighborhood, address, poi.

Declaration
public string Type { get; set; }
Property Value
Type Description
System.String

The type.

Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX