Esempio n. 1
0
        public MercatorMapRender(Func <Size> controlSizeGetter, DisplaySetting displaySetting, PointD center, double scale)
            : base(controlSizeGetter)
        {
            _setting    = displaySetting.ToS52DisplaySetting();
            this.Center = center;
            this.Scale  = scale;

            _painter = new PiecePainter(_fileMgr, 1, _setting);
        }
Esempio n. 2
0
 public void UpdateCleats(DisplaySetting displaySetting)
 {
     _setting = displaySetting.ToS52DisplaySetting();
     _painter = new PiecePainter(_fileMgr, 1, _setting);
 }