Пример #1
0
 private void Map_MouseWheel(object sender, MouseEventArgs e)
 {
     if (e.Delta > 0)
     {
         MapBox.ZoomIn();
     }
     else if (e.Delta < 0)
     {
         MapBox.ZoomOut();
     }
 }
Пример #2
0
 private void BtnMapZoomOut_Click(object sender, EventArgs e)
 {
     MapBox.ZoomOut();
 }