* NavMouseMode (Map Navigation), the SelectMouseMode (MouseEvents
* go to Layers), and NullMouseMode (MouseEvents are ignored).
*/
public void setDefaultMouseModes() {
MapMouseMode[] modes = new MapMouseMode[3];
modes[0] = new NavMouseMode(true);
modes[1] = new SelectMouseMode(true);
modes[2] = new NullMouseMode();
setMouseModes(modes);
}