World Wind Forums

Go Back   World Wind Forums > Community > WorldWind General

WorldWind General General WorldWind discussions.
Note: This is not a technical support forum. It is for World Wind topics that don't fit into other categories.

Reply
 
Thread Tools Display Modes
Old 07-20-2012, 03:57 PM   #1
harryd
Junior Member
 
Join Date: Oct 2011
Posts: 2
harryd is on a distinguished road
Default 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
harryd is offline   Reply With Quote
Old 07-20-2012, 05:51 PM   #2
harryd
Junior Member
 
Join Date: Oct 2011
Posts: 2
harryd is on a distinguished road
Default

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);
harryd is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change to ScreenImage's interpretation of screen offset dcollins Feature Discussion 0 06-23-2011 06:22 PM
WWJ Toggle Full Screen RAM357 Development Help 17 08-06-2010 08:54 AM
Screen Annotation relative to screen Unregistered Development Help 11 04-12-2010 02:12 PM
Screen annotation position aurelius Development Help 5 02-19-2010 09:42 AM
Icon info popup bubble on wrong screen??? James_In_Utah Developers' Corner 7 10-15-2008 07:39 PM


All times are GMT +1. The time now is 11:18 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.