Changeset 4324 for trunk


Ignore:
Timestamp:
Apr 7, 2014, 1:02:03 AM (11 years ago)
Author:
ldelgass
Message:

Client button 1 double click binding for viewpoint change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/mapviewer.tcl

    r4321 r4324  
    343343        bind $itk_component(view) <ButtonRelease-1> \
    344344            [itcl::code $this Pan release %x %y]
     345        bind $itk_component(view) <Double-1> \
     346            [itcl::code $this camera go %x %y]
    345347
    346348        # Bindings for rotation via mouse
     
    15361538            }
    15371539puts stderr "view: $_view(x), $_view(y), $_view(z), $_view(heading), $_view(pitch), $_view(distance), $_view(srs), $_view(verticalDatum)"
     1540        }
     1541        "go" {
     1542            SendCmd "camera go $args"
    15381543        }
    15391544        "reset" {
Note: See TracChangeset for help on using the changeset viewer.