Exemplo n.º 1
0
 protected override void Draw(Graphics g, PaintEventArgs e)
 {
     if (!MapFrame.ViewExtents.IsCrossDateline())
     {
         MapFrame.Draw(new PaintEventArgs(g, e.ClipRectangle));
     }
     else
     {
         MapFrame mf = (MapFrame)MapFrame;
         MapFrame.Draw(new PaintEventArgs(g, mf.ClipRectangle));
         _geoSlaveMapFrame.Draw(new PaintEventArgs(g, _geoSlaveMapFrame.ClipRectangle));
     }
 }