Show / Hide Table of Contents

Struct BearingFilter

Represents a bearing filter, composed of a bearing in decimal angular degrees, with a +/- range also in angular degrees.

Namespace:Mapbox.Utils
Assembly:Mapbox.Utils.dll
Syntax
public struct BearingFilter

Constructors

BearingFilter(Nullable<Double>, Nullable<Double>)

Initializes a new instance of the BearingFilter struct.

Declaration
public BearingFilter(double ? bearing, double ? range)
Parameters
Type Name Description
System.Nullable<System.Double> bearing

A decimal degree between 0 and 360, or null.

System.Nullable<System.Double> range

A decimal degree between 0 and 180, or null.

Fields

Bearing

A decimal degree between 0 and 360.

Declaration
public double ? Bearing
Field Value
Type Description
System.Nullable<System.Double>

Range

A decimal degree between 0 and 180. Represents the range
beyond bearing in both directions.

Declaration
public double ? Range
Field Value
Type Description
System.Nullable<System.Double>

Methods

ToString()

Converts bearing to a URL snippet.

Declaration
public override string ToString()
Returns
Type Description
System.String

Returns a string for use in a Mapbox query URL.

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