diff --git a/MapControl/Shared/BoundingBox.cs b/MapControl/Shared/BoundingBox.cs
index ccf29e33..9063e928 100644
--- a/MapControl/Shared/BoundingBox.cs
+++ b/MapControl/Shared/BoundingBox.cs
@@ -44,6 +44,9 @@ namespace MapControl
public virtual Location Center => new Location((South + North) / 2d, (West + East) / 2d);
+ ///
+ /// Creates a BoundingBox instance from a string containing a comma-separated sequence of four floating point numbers.
+ ///
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(
diff --git a/MapControl/Shared/Location.cs b/MapControl/Shared/Location.cs
index b2db9b75..9ea4e7a2 100644
--- a/MapControl/Shared/Location.cs
+++ b/MapControl/Shared/Location.cs
@@ -52,6 +52,9 @@ namespace MapControl
return string.Format(CultureInfo.InvariantCulture, "{0:F5},{1:F5}", Latitude, Longitude);
}
+ ///
+ /// Creates a Location instance from a string containing a comma-separated pair of floating point numbers.
+ ///
public static Location Parse(string location)
{
string[] values = null;
@@ -63,7 +66,7 @@ namespace MapControl
if (values?.Length != 2)
{
- throw new FormatException("Location string must be a comma-separated pair of floating point numbers.");
+ throw new FormatException("Location string must contain a comma-separated pair of floating point numbers.");
}
return new Location(
diff --git a/MapControl/Shared/LocationCollection.cs b/MapControl/Shared/LocationCollection.cs
index 701f45c5..ccd4b423 100644
--- a/MapControl/Shared/LocationCollection.cs
+++ b/MapControl/Shared/LocationCollection.cs
@@ -52,6 +52,10 @@ namespace MapControl
Add(new Location(latitude, longitude));
}
+ ///
+ /// Creates a LocationCollection instance from a string containing a sequence
+ /// of Location strings that are separated by a spaces or semicolons.
+ ///
public static LocationCollection Parse(string locations)
{
if (string.IsNullOrEmpty(locations))
diff --git a/MapControl/Shared/TileSource.cs b/MapControl/Shared/TileSource.cs
index 7f4ac438..dcfdd81c 100644
--- a/MapControl/Shared/TileSource.cs
+++ b/MapControl/Shared/TileSource.cs
@@ -84,6 +84,9 @@ namespace MapControl
return uri != null ? ImageLoader.LoadImageAsync(uri) : Task.FromResult((ImageSource)null);
}
+ ///
+ /// Creates a TileSource instance from an Uri template string.
+ ///
public static TileSource Parse(string uriTemplate)
{
return new TileSource { UriTemplate = uriTemplate };
diff --git a/MapControl/Shared/WmsImageLayer.cs b/MapControl/Shared/WmsImageLayer.cs
index 91cd9448..aa435d2f 100644
--- a/MapControl/Shared/WmsImageLayer.cs
+++ b/MapControl/Shared/WmsImageLayer.cs
@@ -67,7 +67,7 @@ namespace MapControl
}
///
- /// Comma-separated list of Layer names to be displayed. If not set, the first Layer is displayed.
+ /// Comma-separated sequence of Layer names to be displayed. If not set, the first Layer is displayed.
///
public string Layers
{
@@ -76,7 +76,7 @@ namespace MapControl
}
///
- /// Comma-separated list of requested styles. Default is an empty string.
+ /// Comma-separated sequence of requested styles. Default is an empty string.
///
public string Styles
{