Re: pan solution

From: Donald Dietrick <dietrick@bbn.com>
Date: Tue Jun 19 2001 - 16:16:26 EDT

Hello,

I'll just drop my 2 cents right on top of everyone else's'.

First, don't forget the clicking on the map in Navigation mode
re-centers the map at the click point. Same with the overview map.
That may be a good enough for some people.

Dragging the map around is pretty easy, but the problem is what to do
with the area that *was* off the map, which is the point Yvon made. Tom
Peel from FGM just last week sent in some code bits that let you drag
the map around, and new data is fetched for that area after the mouse is
released. That seems to be simple and efficient behavior which lets the
layers normally. I'm planning on incorporating his code into the
NavMouseMode, with the behavior being triggered with the shift key being
held down. Or, maybe the rectangle will be drawn when the mouse is held
down. I'm not sure, I'll play with it.

I also agree with James complaint about the overview map, and I'm also
looking into ways to easily incorporate components into semi-transparent
panels that be positioned over the sides of the map, and go away when
not needed.

OpenMap 4.2 should be out this evening. Look for an official
announcement later today.

Have a good one,

Don

James Edward Marca wrote:
>
> Hi,
> here's my two cents. I occasionally make use of the map overview layer,
> but I find it annoying in that it is in a separate window and so is
> often hidden by the regular map. I keep wanting to explore making it
> a permanent part of the main window, by sticking it right on top of the
> real map, say in the upper left corner. There may already by a way
> to do this, but as I said, I haven't really done any digging on
> this feature.
>
> then panning around could be done by dragging the square in the
> overview layer, without having to click and wait, click and wait
> or zoom out, recenter, zoom in as I do now.
>
> my two cents,
> james
>
> >From Peter.Pan@comsat.com, received Mon, Jun 18, 2001 at 05:39:27PM -0400:
> > Yvon,
> >
> > The rubber band is really a nice idea. As I remember, many CAD software like
> > AutoCAD are using this trchniques.
> >
> > Could you please give me some idea how to implement this design?
> > Is it difficult and time consuming for this implementation using openmap? Do we
> > need to change the source code of openamap?
> >
> > Thanks,
> > Peter
> >
> >
> > ____________________Reply Separator____________________
> > Subject: Re: pan solution
> > Author: "Yvon Perreault" <yvonp@home.com>
> > Date: 6/18/01 4:32 PM
> >
> > While this may seem to you like a natural way to go, you need to understand
> > how map drawing takes place. The result of all the data layers and
> > buffering done by OpenMap will seriously impact the "live" feedback you may
> > wish to see as you are, as you say, "dragging" the map around. It is almost
> > always impratical to have such live dragging with complicated drawing
> > algorithms, especially map-based displays.
> >
> > However, it may be useful to implement a tool which shows, using a
> > rubberband effect, the displacement of the point where the drag starts to
> > where the drag stops, and then perform a complete map drawing cycle. This I
> > have done myself in some products I've developed. Could the OpenMap team
> > consider such an option? They'll have to provide guidance...
> >
> > Just my $0.02.
> >
> > -- Yvon Perreault
> > FGM Inc.
> >
> > ----- Original Message -----
> > From: <Peter.Pan@comsat.com>
> > To: <openmap-users@bbn.com>
> > Sent: Monday, June 18, 2001 3:37 PM
> > Subject: pan solution
> >
> >
> > > I think the pan solution in the openmap is not convenient. Could we
> > implement it
> > > like following, Let the mouse drag the map, the map moves as the movement
> > of the
> > > mouse. In a word, drag the map by mouse.
> > >
> > > I am thinking about implementing this feature, could you please give me
> > some
> > > idea which part of the codes should be modified so that I can have a quick
> > > start?
> > >
> > > Thanks,
> > > Peter
> > >
>
> --
> [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"]

--
[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 Tue Jun 19 16:17:24 2001

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