MapProjectionFactory throws NotSupportedException

This commit is contained in:
ClemensFischer 2024-09-12 15:48:20 +02:00
parent 85cf0483ec
commit 45b9fb2e89
5 changed files with 48 additions and 23 deletions

View file

@ -66,7 +66,7 @@ namespace MapControl
if (values?.Length != 2)
{
throw new FormatException("Location string must contain a comma-separated pair of floating point numbers.");
throw new FormatException($"{nameof(Location)} string must contain a comma-separated pair of floating point numbers.");
}
return new Location(