Announcement

Collapse
No announcement yet.

disable "on screen controls" ?

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

  • disable "on screen controls" ?

    Hi,

    Is there a way to remove/disable the buttons on the the map display (move,rotated,etc) ?

    I'm searching but must not be using the right keywords because I dont see any posts or documentation related to doing this.

    thanks

    HD

  • #2
    Nevermind finally found it.

    ViewControlsLayer vlayer = (ViewControlsLayer) this.getWwd().getModel().getLayers().get LayersByClass(ViewControlsLayer.class).g et(0);
    vlayer.setShowFovControls(false);
    vlayer.setShowHeadingControls(false);
    vlayer.setShowLookControls(false);
    vlayer.setShowPanControls(false);
    vlayer.setShowPitchControls(false);
    vlayer.setShowVeControls(false);
    vlayer.setShowZoomControls(false);

    Comment

    Working...
    X