MapSpan Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A circular region on a Map.
public sealed class MapSpan
type MapSpan = class
- Inheritance
-
System.ObjectMapSpan
Constructors
MapSpan(Position, Double, Double) |
Returns a MapSpan that is centered on |
Properties
Center | |
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 |
Equals(Object) |
Whether |
FromCenterAndRadius(Position, Distance) |
Returns a MapSpan that displays the area that is defined by |
GetHashCode() |
The hash value for this MapSpan, based on the position and radius. |
WithZoom(Double) |
Creates a new MapSpan with the same Center as |
Operators
Equality(MapSpan, MapSpan) |
Whether two MapSpan have equivalent values. |
Inequality(MapSpan, MapSpan) |
Whether two MapSpan have different values. |