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"]
Received: from omnivor1.rsp.comsat.com ([134.133.178.45]) by
cqgate5.cmc.comsat.com with SMTP
(IMA Internet Exchange 3.13) id 0037B6C4; Mon, 18 Jun 2001 16:45:35 -0400
Received: from omnivor1.rsp.comsat.com ([134.133.178.45]) by
omnivor1.rsp.comsat.com with SMTP (Microsoft Exchange Internet Mail Service
Version 5.5.2650.21)
id MQST5MCL; Mon, 18 Jun 2001 16:41:06 -0400
Received: FROM neo.it.comsat.com BY omnivor1.rsp.comsat.com ; Mon Jun 18
16:41:05 2001 -0400
Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.89])
by neo.it.comsat.com (Switch-2.0.1/Switch-2.0.1) with ESMTP id f5IKRCj02063
for <Peter.Pan@comsat.com>; Mon, 18 Jun 2001 16:27:12 -0400 (EDT)
Received: by smtpout.mac.com; Mon, 18 Jun 2001 13:35:33 -0700 (PDT)
Received: from asmtp02.mac.com ([10.13.10.66]) by
smtp-relay01.mac.com (Netscape Messaging Server 4.15) with ESMTP
id GF57V800.HTU for <Peter.Pan@comsat.com>; Mon, 18 Jun 2001
13:35:32 -0700
Received: from GENTOO ([24.15.191.145]) by asmtp02.mac.com
(Netscape Messaging Server 4.15 asmtp02 Jun 6 2001 13:16:42)
with ESMTP id GF57V800.6JK; Mon, 18 Jun 2001 13:35:32 -0700
Message-ID: <0e9c01c0f835$dc0fc4f0$a23602d8@GENTOO>
Reply-To: "Yvon Perreault" <yvonp@home.com>
From: "Yvon Perreault" <yvon@mac.com>
To: <Peter.Pan@comsat.com>, <openmap-users@bbn.com>
References: <0023A914.C22219@comsat.com>
Subject: Re: pan solution
Date: Mon, 18 Jun 2001 16:32:55 -0400
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
-- [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 Mon Jun 18 17:38:53 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT