Monday, December 24, 2007

WWJ Annotated Icons

Suppose you have icons around the globe representing some type of events (traffic, rain, fire, ...) and you want to see more information when click on them with the mouse.

Well, I have created the so called AnnotatedIcons with this idea in mind. Note, as suggested here byt Pat, there is another approach to achieve similar effect based only in annotations (one annotation with two or more annotation attribute styles). Unfortunately :( I had done the major part of code when I known the alternative, and anyway I like AnnotatedIcons :)



As you can see in the image (I have no time to make a video), some icons are rendered and when the mouse is over one its associated annotation is shown with more extended information.

You can take the source code from here.

WWJ Rotable Icons

Reading this thread other developer talk about how useful will be have icons that can be rotated.
I don't know if these contribution success with all expectation but if you can compute the heading desired for your icons then these can be useful for you.
The RotableUserFacingIcon implementation allows to specify the heading rotation of your icons (like the compass).



You can get the source code from here.

Note, this contribution adds a peace of code into the IconRenderer class to allows icon rotation take effect, and also take into account the icon is slightly displaced when it is a rotable icon.

Saturday, December 08, 2007

The new balloon...

I'm glad to present a screenshot about the new balloon application.

For the moment I'm working very hard on the user interface, but it allows to work with the default WWJ BlueMarble and Lansat layers, load images (local or remote) with re-loading option ;) and animate with a temporality associated.