Friday, June 8, 2007

Adding a simple scalebar to WWJ

Here is a simple scalebar layer for WWJ. It can display metric and imperial units and behaves like the Compass layer.


Download ScalebarLayer.java (9k). Remove the .txt extension and add it to the worldwinddemo package or your own project.

See this WWJ forum thread for discussion.

No comments: