MapSpan Class

Definition

A circular region on a Map.

public sealed class MapSpan
type MapSpan = class
Inheritance
System.Object
MapSpan

Constructors

MapSpan(Position, Double, Double)

Returns a MapSpan that is centered on center and extends to latitudeDegress and longitudeDegress.

Properties

Center

The Position in the geographical center of the MapSpan.

LatitudeDegrees

The degrees of latitude that are spanned by the MapSpan.

LongitudeDegrees

The degrees of longitude that are spanned by the MapSpan.

Radius

Gets the smallest distance across the MapSpan.

Methods

ClampLatitude(Double, Double)

Creates a new MapSpan with the same LongitudeDegrees as this and a radius defined by north and south.

Equals(Object)

Whether obj is a MapSpan with identical position and radius values as this MapSpan.

FromCenterAndRadius(Position, Distance)

Returns a MapSpan that displays the area that is defined by center and radius.

GetHashCode()

The hash value for this MapSpan, based on the position and radius.

WithZoom(Double)

Creates a new MapSpan with the same Center as this but with a Radius multiplied by zoomFactor.

Operators

Equality(MapSpan, MapSpan)

Whether two MapSpan have equivalent values.

Inequality(MapSpan, MapSpan)

Whether two MapSpan have different values.

Applies to