World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 03-07-2009, 12:34 AM   #1
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Arrow WWJ 0.5 to 0.6 Migration

As you migrate code and applications to the World Wind Java 0.6 version, please keep and share notes, comments and issues here for the benefit of all.

Thank you.
__________________
My World Wind Java Blog & WW.net Plugins page

Last edited by patmurris; 03-07-2009 at 12:39 AM.
patmurris is offline   Reply With Quote
Old 03-08-2009, 11:53 AM   #2
marjancek
Member
 
Join Date: Sep 2008
Posts: 77
marjancek is on a distinguished road
Default

Package "gov.nasa.worldwind.layers.Mercator.exam ples" should be renamed to
"gov.nasa.worldwind.layers.mercator.exam ples" (all lower case)

Probably not a problem in case insensitive environments.
__________________
Mariano Cecowski
http://gaeaplus.si
marjancek is offline   Reply With Quote
Old 03-09-2009, 12:01 PM   #3
vash
Senior Member
 
Join Date: May 2007
Location: Toulouse
Posts: 120
vash is on a distinguished road
Default

Thank you Pat for creating this post. I think it will be very helpful.

First I have a problem with the new ElevationModel class, the methods isEnabled() and setEnabled() have disappeared. How i can manage to do disable Elevation with the new API?

Secondly how is going the refresh layer patch integration? (http://issues.worldwind.arc.nasa.gov/browse/WWJ-142)
This functionality is very important for me and i don't think this represent a lot of work to integrate it in the SDK. I can update the patch for WWJ 0.6 if you want so you just will have to check it.
__________________
-Nicolas CASTEL- Thales Alenia Space, Toulouse, France-
vash is offline   Reply With Quote
Old 03-09-2009, 08:42 PM   #4
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

No work has been done so far regarding the layers 'live refresh' capability and i've no idea if and when we will get to this. In the mean time please migrate your fix for others to use. Thanks.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 03-10-2009, 12:03 AM   #5
nlneilson
Super Moderator
 
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,617
nlneilson is on a distinguished road
Default

Thanks Pat for LayerManagerLayer.java
I add it to my layer list with this line
Code:
				new LayerManagerLayer(wwd),
http://www.nlneilson.com/wwposts/LayerManager.jpg
This takes up less screen space.
http://www.nlneilson.com/wwposts/LayerManager2.jpg
I may change it to black text on white background as outside even in the shade it is hard to read.

edit:
Code:
    private Color backColor = Color.decode("#eeeeee");
//    private Color backColor = Color.WHITE;
This sets the background color the same as the default for the status bar/s.
http://www.nlneilson.com/wwposts/LayerManager3.jpg

Last edited by nlneilson; 03-17-2009 at 11:12 PM.
nlneilson is offline   Reply With Quote
Old 03-10-2009, 12:25 AM   #6
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

Quote:
Originally Posted by vash View Post
I have a problem with the new ElevationModel class, the methods isEnabled() and setEnabled() have disappeared. How i can manage to do disable Elevation with the new API?
How about just using terrain.ZeroElevationModel instead of using and disabling the Earth one?
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 03-10-2009, 11:35 AM   #7
vash
Senior Member
 
Join Date: May 2007
Location: Toulouse
Posts: 120
vash is on a distinguished road
Default

Quote:
Originally Posted by patmurris View Post
How about just using terrain.ZeroElevationModel instead of using and disabling the Earth one?
Thank you ! this solution works.
__________________
-Nicolas CASTEL- Thales Alenia Space, Toulouse, France-
vash is offline   Reply With Quote
Old 03-10-2009, 06:04 PM   #8
Andrew Fresquez
Junior Member
 
Join Date: Mar 2009
Posts: 27
Andrew Fresquez is on a distinguished road
Default

Looks like TrackMarkerLayer has been removed... Is this correct and anyone know the reason why it was removed?

Thanks,
-Andrew
Andrew Fresquez is offline   Reply With Quote
Old 03-10-2009, 06:24 PM   #9
patmurris
WWJ Consultant
 
patmurris's Avatar
 
Join Date: Jun 2005
Location: Saint-Paul de Vence, Alpes Maritimes, France
Posts: 3,412
patmurris is an unknown quantity at this point
Default

Track markers have been reworked. Have a look at examples.Markers and MarkersOrder.
__________________
My World Wind Java Blog & WW.net Plugins page
patmurris is offline   Reply With Quote
Old 03-10-2009, 06:33 PM   #10
Andrew Fresquez
Junior Member
 
Join Date: Mar 2009
Posts: 27
Andrew Fresquez is on a distinguished road
Default

Ok... that's cool! Thanks a bunch!
Andrew Fresquez 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
How to setup WWJ Hervé Development Help 96 03-04-2013 03:42 PM
WWJ and Platform-dependence smcnaughton Development Help 31 11-11-2009 01:09 PM
Help ! how do i load WWJ source code on Netbeans or Eclipse ? Amvlf Development Help 3 11-13-2008 10:15 AM
WWJ 0.5 question... adanecito Development Help 2 05-30-2008 04:08 AM
SurfaceShapes are not translucent in WWJ 0.5 vash Development Help 0 05-07-2008 02:05 PM


All times are GMT +1. The time now is 07:34 PM.


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