Ejemplo n.º 1
0
        //public bool IsValidCountryMap(MapView view)
        //{
        //    MapPoint minLonLat = new MapPoint(70, 17, SpatialReferences.Wgs84);
        //    MapPoint maxLonLat = new MapPoint(137, 56, SpatialReferences.Wgs84);

        //    MapPoint minXY = GeometryEngine.Project(minLonLat, SpatialReferences.WebMercator) as MapPoint;
        //    MapPoint maxXY = GeometryEngine.Project(maxLonLat, SpatialReferences.WebMercator) as MapPoint;

        //    var envelope = GetCurrentEnvelop(view);

        //    return false;
        //}
        public ImageWriter(ProductSaveOption option, string title, string startDate, string endDate, string publishDate, int templateType = 0)
        {
            this.saveOption  = option;
            this.startDate   = startDate;
            this.endDate     = endDate;
            this.publishDate = publishDate;
            this.title       = title;
            if (templateType == 20)
            {
                this.isTemplate20 = true;
            }
            else if (templateType == 8)
            {
                this.isTemplate08 = true;
            }
        }
Ejemplo n.º 2
0
 public ImageWriter(ProductSaveOption option, string title, string line)
 {
     this.saveOption = option;
     this.title      = title;
     this.line       = line;
 }