Exemple #1
0
		public CrunchedLayer(RenderOptions renderOptions, Layer layer, List<RangeDescriptor> rangeDescriptors, MapTileSourceFactory mapTileSourceFactory)
		{
			this.displayName = layer.GetDisplayName();
			this.namingScheme = new VENamingScheme(layer.GetFilesystemName(), renderOptions.GetOutputTileSuffix());
			this.rangeDescriptors = rangeDescriptors;
			bool flag;
			this.defaultView = this.GetDefaultView(layer, new Size(600, 600), mapTileSourceFactory, out flag);
			foreach (SourceMap current in layer)
			{
				this.sourceMapRecords.Add(new SourceMapRecord(layer, current, mapTileSourceFactory));
			}
		}
Exemple #2
0
        public CrunchedLayer(RenderOptions renderOptions, Layer layer, List <RangeDescriptor> rangeDescriptors, MapTileSourceFactory mapTileSourceFactory)
        {
            this.displayName      = layer.GetDisplayName();
            this.namingScheme     = new VENamingScheme(layer.GetFilesystemName(), renderOptions.GetOutputTileSuffix());
            this.rangeDescriptors = rangeDescriptors;
            bool flag;

            this.defaultView = this.GetDefaultView(layer, new Size(600, 600), mapTileSourceFactory, out flag);
            foreach (SourceMap current in layer)
            {
                this.sourceMapRecords.Add(new SourceMapRecord(layer, current, mapTileSourceFactory));
            }
        }
 internal string DescribeSourceForComplaint()
 {
     return(string.Format("Layer {0} Source {1}",
                          layer.GetDisplayName(),
                          source.GetSourceMapDisplayName()));
 }