Fixed MapImageLayer boundingBox

This commit is contained in:
ClemensF 2017-11-02 19:05:46 +01:00
parent 156ebfe177
commit 1861e9ca5d
2 changed files with 28 additions and 30 deletions

View file

@ -163,7 +163,7 @@ namespace MapControl
/// </summary>
public virtual string WmsQueryParameters(BoundingBox boundingBox, string version = "1.3.0")
{
if (string.IsNullOrEmpty(CrsId))
if (string.IsNullOrEmpty(CrsId) || !boundingBox.HasValidBounds)
{
return null;
}