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

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