// Copyright (C) Stichting Deltares 2016. All rights reserved.
//
// This file is part of Ringtoets.
//
// Ringtoets is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
//
// All names, logos, and references to "Deltares" are registered trademarks of
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
namespace Ringtoets.Common.Data.AssessmentSection
{
///
/// A background data configuration of WMTS tile sources.
///
public class WmtsBackgroundDataConfiguration : IBackgroundDataConfiguration
{
///
/// Instantiate a .
///
/// Indicates if the configuration is configured to use as a tile source.
/// The URL to the capabilities of the WMTS.
/// The name of the capability to use.
/// The MIME-type specification of the preferred tile image format.
public WmtsBackgroundDataConfiguration(bool isConfigured, string sourceCapabilitiesUrl, string selectedCapabilityIdentifier, string preferredFormat)
{
IsConfigured = isConfigured;
SourceCapabilitiesUrl = sourceCapabilitiesUrl;
SelectedCapabilityIdentifier = selectedCapabilityIdentifier;
PreferredFormat = preferredFormat;
}
///
/// Gets if the configuration is ready to use as a tile source.
///
public bool IsConfigured { get; private set; }
///
/// Gets the URL to the capabilities of the WMTS.
///
public string SourceCapabilitiesUrl { get; private set; }
///
/// Gets the name of the capability to use.
///
public string SelectedCapabilityIdentifier { get; private set; }
///
/// Gets the MIME-type specification of the preferred tile image format.
///
public string PreferredFormat { get; private set; }
}
}