Inheritance: IArcGISCapabilities
 public ArcGISImageServiceProvider(ArcGISImageCapabilities capabilities, bool continueOnError = true)
 {
     CRS = "";
     TimeOut = 10000;     
     ContinueOnError = continueOnError;
     ArcGisImageCapabilities = capabilities;
     Url = ArcGisImageCapabilities.ServiceUrl;
 }
示例#2
0
 public ArcGISImageServiceProvider(ArcGISImageCapabilities capabilities, bool continueOnError = true)
 {
     CRS                     = "";
     TimeOut                 = 10000;
     ContinueOnError         = continueOnError;
     ArcGisImageCapabilities = capabilities;
     Url                     = ArcGisImageCapabilities.ServiceUrl;
 }
 public ArcGISImageServiceProvider(ArcGISImageCapabilities capabilities, bool continueOnError = true, string token = null)
 {
     Token                   = token;
     CRS                     = "";
     TimeOut                 = 10000;
     ContinueOnError         = continueOnError;
     ArcGisImageCapabilities = capabilities;
     Url                     = ArcGisImageCapabilities.ServiceUrl;
 }
 public ArcGISImageServiceProvider(ArcGISImageCapabilities capabilities, bool continueOnError = true, string token = null)
 {
     Token = token;
     CRS = "";
     TimeOut = 10000;
     ContinueOnError = continueOnError;
     ArcGisImageCapabilities = capabilities;
     Url = ArcGisImageCapabilities.ServiceUrl;
 }
        public ArcGISImageServiceProvider(string url, bool continueOnError = false, string format = "jpgpng", InterpolationType interpolation = InterpolationType.RSP_NearestNeighbor, long startTime = -1, long endTime = -1)
        {
            Url = url;
            CRS = "";
            TimeOut = 10000;
            ContinueOnError = continueOnError;

            ArcGisImageCapabilities = new ArcGISImageCapabilities(Url, startTime, endTime, format, interpolation)
            {
                fullExtent = new Extent { xmin = 0, xmax = 0, ymin = 0, ymax = 0 },
                initialExtent = new Extent { xmin = 0, xmax = 0, ymin = 0, ymax = 0 }
            };

            var capabilitiesHelper = new CapabilitiesHelper();
            capabilitiesHelper.CapabilitiesReceived += CapabilitiesHelperCapabilitiesReceived;
            capabilitiesHelper.CapabilitiesFailed += CapabilitiesHelperCapabilitiesFailed;
            capabilitiesHelper.GetCapabilities(url, CapabilitiesType.DynamicServiceCapabilities);
        }
示例#6
0
        public ArcGISImageServiceProvider(string url, bool continueOnError = false, string format = "jpgpng", InterpolationType interpolation = InterpolationType.RSP_NearestNeighbor, long startTime = -1, long endTime = -1)
        {
            Url             = url;
            CRS             = "";
            TimeOut         = 10000;
            ContinueOnError = continueOnError;

            ArcGisImageCapabilities = new ArcGISImageCapabilities(Url, startTime, endTime, format, interpolation)
            {
                fullExtent = new Extent {
                    xmin = 0, xmax = 0, ymin = 0, ymax = 0
                },
                initialExtent = new Extent {
                    xmin = 0, xmax = 0, ymin = 0, ymax = 0
                }
            };

            var capabilitiesHelper = new CapabilitiesHelper();

            capabilitiesHelper.CapabilitiesReceived += CapabilitiesHelperCapabilitiesReceived;
            capabilitiesHelper.CapabilitiesFailed   += CapabilitiesHelperCapabilitiesFailed;
            capabilitiesHelper.GetCapabilities(url, CapabilitiesType.DynamicServiceCapabilities);
        }