Пример #1
0
 public IEnumerable <IViewportEventListener> Create(MapViewport viewport)
 {
     yield return(new RightClickViewportListener(viewport));
 }
Пример #2
0
 public ViewportEvent(MapViewport sender, EventArgs e = null)
 {
     Sender = sender;
 }
Пример #3
0
 public ViewportEvent(MapViewport sender, KeyPressEventArgs e)
 {
     Sender  = sender;
     KeyChar = e.KeyChar;
 }
 public RightClickViewportListener(MapViewport viewport)
 {
     Viewport     = viewport;
     _contextMenu = new ContextMenuStrip();
 }
Пример #5
0
        public IEnumerable <IViewportEventListener> Create(MapViewport viewport)
        {
            yield return(new PerspectiveCameraNavigationViewportListener(viewport));

            yield return(new OrthographicCameraViewportListener(viewport));
        }
 public OrthographicCameraViewportListener(MapViewport viewport)
 {
     Viewport = viewport;
 }