This commit is contained in:
ClemensFischer 2026-01-10 23:02:13 +01:00
parent c3fcfa9afe
commit 610ad13b96
4 changed files with 12 additions and 13 deletions

View file

@ -6,9 +6,9 @@ namespace MapControl
/// <summary>
/// A geographic location with latitude and longitude values in degrees.
/// For calculations with azimuth and distance on great circles, see
/// https://en.wikipedia.org/wiki/Great_circle
/// https://en.wikipedia.org/wiki/Great-circle_distance
/// https://en.wikipedia.org/wiki/Great-circle_navigation
/// https://en.wikipedia.org/wiki/Great_circle,
/// https://en.wikipedia.org/wiki/Great-circle_distance,
/// https://en.wikipedia.org/wiki/Great-circle_navigation.
/// </summary>
#if UWP || WINUI
[Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]

View file

@ -67,9 +67,9 @@ namespace MapControl
}
/// <summary>
/// Calculates a series of Locations on a great circle, or orthodrome, that connects the two specified Locations,
/// with an optional angular resolution specified in degrees.
/// https://en.wikipedia.org/wiki/Great-circle_navigation
/// Calculates a series of Locations on a great circle, or orthodrome, that connects the
/// two specified Locations, with an optional angular resolution specified in degrees.
/// See https://en.wikipedia.org/wiki/Great-circle_navigation.
/// </summary>
public static LocationCollection OrthodromeLocations(Location location1, Location location2, double resolution = 1d)
{
@ -132,10 +132,9 @@ namespace MapControl
}
/// <summary>
/// Calculates a series of Locations on a rhumb line, or loxodrome, that connects the two specified Locations,
/// with an optional angular resolution specified in degrees.
///
/// See https://en.wikipedia.org/wiki/Rhumb_line
/// Calculates a series of Locations on a rhumb line, or loxodrome, that connects the
/// two specified Locations, with an optional angular resolution specified in degrees.
/// See https://en.wikipedia.org/wiki/Rhumb_line.
/// </summary>
public static LocationCollection LoxodromeLocations(Location location1, Location location2, double resolution = 1d)
{

View file

@ -30,8 +30,8 @@ namespace MapControl
public const double Wgs84MeterPerDegree = Wgs84EquatorialRadius * Math.PI / 180d;
public const double Wgs84Flattening = 1d / 298.257223563;
// Arithmetic mean radius (2*a + b) / 3 == (1 - f/3) * a
// https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius
// Arithmetic mean radius (2*a + b) / 3 == (1 - f/3) * a.
// See https://en.wikipedia.org/wiki/Earth_radius#Arithmetic_mean_radius.
//
public const double Wgs84MeanRadius = (1d - Wgs84Flattening / 3d) * Wgs84EquatorialRadius;

View file

@ -14,7 +14,7 @@ using Avalonia;
namespace MapControl
{
/// <summary>
/// For reference see https://www.ogc.org/standards/wmts, 07-057r7_Web_Map_Tile_Service_Standard.pdf
/// See https://www.ogc.org/standards/wmts, 07-057r7_Web_Map_Tile_Service_Standard.pdf.
/// </summary>
public class WmtsCapabilities
{