aboutsummaryrefslogtreecommitdiff
path: root/PositionCalculator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'PositionCalculator.cs')
-rw-r--r--PositionCalculator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/PositionCalculator.cs b/PositionCalculator.cs
index 2140a88..f6fdbff 100644
--- a/PositionCalculator.cs
+++ b/PositionCalculator.cs
@@ -40,7 +40,7 @@ public record MelwaysPage {
// and grid number (e.g: 131 D7) by looking up the origin coordinates
// of the Melways page from a pre-defined table, then interpolating
// the grid number across the page to get a (very) rough position.
-public class PositionCalculator {
+internal class PositionCalculator {
private const float PageWidth = 0.0583403752108005f;
private const float PageHeight = 0.0444074086328539f;
@@ -72,7 +72,7 @@ public class PositionCalculator {
new MelwaysPage { PageNo = 317, Latitude = -38.0493097638301, Longitude = 145.464666307851 }
};
- public static GpsPosition? GetGpsPosition(ParsedPagerMessage message) {
+ internal static GpsPosition? GetGpsPosition(ParsedPagerMessage message) {
if(message.MapType != MapType.Melways)
return null;
if(message.MapNo is null || message.MapGrid is null)