The applet below loads data from an XML file located in the same place the applet
comes from. The map appearance and a few other properties are configured with
applet parameters.
User can interact with the map as follows:
1) To zoom into a group, check the 'Enable zoom' checkbox above the map area. The mouse
cursor changes to a cross. Click mouse within a node area, and respective
group is expanded, filling the entire map area.
To zoom out back, right-click mouse and the map is zoomed-out to the next higher
level(the parent group). To zoom out directly back to the highest level, press the
CTRL button together with the right mouse button.
2) If zoom is not enabled, a click on a colored rectangle can load the URL of respective company
in a new window. Uncheck the 'Enable zoom' checkbox and click on the MSFT or ORCL rectangles inside
the SOFTWARE sector to bring the web pages of these companies.
3) A popup window list is displayed by left-clicking the mouse on a node while pressing the SHIFT
key. The list is displayed next to the popup window. To hide the list, repeat the same gesture.
A click on a list item loads a page showing information about the selected item and the company
represented by the active node.
This feature only takes effect if zoom is disabled.