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

@ -58,7 +58,7 @@ namespace MapControl
if (values == null || values.Length != 4 && values.Length != 5)
{
throw new FormatException("BoundingBox string must contain a comma-separated sequence of four or five floating point numbers.");
throw new FormatException($"{nameof(BoundingBox)} string must contain a comma-separated sequence of four or five floating point numbers.");
}
var rotation = values.Length == 5