[OpenMap Users] Overview Window

From: Gubler, Rüdiger <rgubler@init-ka.de>
Date: Fri Oct 24 2003 - 03:40:31 EDT

Hi Don, hi all,

in which way can i add an overview window to my application.
I don't use properties al must be done in java.

I want an overview (scale calculated from the size of the window)
with an dotted frame showing the part showing in the main map and
the posibility to navigate from the overview.

I think i must do at least the following:

        OverviewMapHandler omh = new OverviewMapHandler();
        omh.addControlledMap( mainMap );
        omh.setLayers(mainMap.getLayers());
        omh.setStatusLayer(new OverviewMapAreaLayer());
        mainMap.addComponentListener(omh);
        myFrame.setContent(omh.getMap());

But what else must be done?

Yours Ruediger

         

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 24 03:59:48 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT