Пример #1
0
        public ImageLayerInfoStruct LoadLayerInfos(MapObjects2.ImageLayer layer, string fileName, double minScale, double maxScale)
        {
            ImageLayerInfoStruct oImageLayerStruct = new ImageLayerInfoStruct();

            oImageLayerStruct.FileName = fileName;
            oImageLayerStruct.MinLevel = minScale;
            oImageLayerStruct.MaxLevel = maxScale;
            oImageLayerStruct.Name     = layer.Name;

            return(oImageLayerStruct);
        }
Пример #2
0
        public ImageLayerInfoStruct LoadLayerInfos(MapObjects2.ImageLayer layer,string fileName,double minScale,double maxScale)
        {
            ImageLayerInfoStruct oImageLayerStruct = new ImageLayerInfoStruct();

            oImageLayerStruct.FileName = fileName;
            oImageLayerStruct.MinLevel = minScale;
            oImageLayerStruct.MaxLevel = maxScale;
            oImageLayerStruct.Name = layer.Name;

            return oImageLayerStruct;
        }