Announcement

Collapse
No announcement yet.

Right Clicks

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Right Clicks

    Is there a way for the ClickRecognizer to work with right clicks (or right mouse downs)? It works great with the left click, but seems to ignore the right click.

    https://webworldwind.org/developers-.../#click-events

  • #2
    Figured it out.

    Code:
        var clickRecognizer = new WorldWind.ClickRecognizer(globe.wwd,  handlePick);
        clickRecognizer.button=2;  //right mouse button
    Thanks!

    Comment

    Working...
    X