mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Some comments
This commit is contained in:
parent
e642846e7d
commit
fd2f09a078
5 changed files with 17 additions and 4 deletions
|
|
@ -44,6 +44,9 @@ namespace MapControl
|
|||
|
||||
public virtual Location Center => new Location((South + North) / 2d, (West + East) / 2d);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a BoundingBox instance from a string containing a comma-separated sequence of four floating point numbers.
|
||||
/// </summary>
|
||||
public static BoundingBox Parse(string boundingBox)
|
||||
{
|
||||
string[] values = null;
|
||||
|
|
@ -55,7 +58,7 @@ namespace MapControl
|
|||
|
||||
if (values?.Length != 4)
|
||||
{
|
||||
throw new FormatException("BoundingBox string must be a comma-separated list of four floating point numbers.");
|
||||
throw new FormatException("BoundingBox string must contain a comma-separated sequence of four floating point numbers.");
|
||||
}
|
||||
|
||||
return new BoundingBox(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue