<div>Before you head too far down the path... keep in mind that ctrl+click is what mac users do for right-click (unless they have a third party mouse like me)... so to keep things usable please try not to use that combo for anything.
</div>
<div> </div>
<div>-Mike<br><br> </div>
<div><span class="gmail_quote">On 1/10/06, <b class="gmail_sendername">Paul Spencer</b> <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">proceeding down the key-modifier path, it is possible to detect shift/<br>ctrl/alt keys when the mouse events happen, so a possibility is to
<br>detect ctrl-click or ctrl-drag as query mode making it reasonably<br>seamless<br><br>On the same note, we could use shift-drag as a zoom box and right<br>click as zoom out.<br><br>What about:<br><br> | none | shift | ctrl | alt
<br>----------------------+-----------+-----------+-------------+----------<br>left click | | zoom | query point |<br>----------------------+-----------+-----------+-------------+----------<br>left double click | recenter | | |
<br>----------------------+-----------+-----------+-------------+----------<br>left click-and-drag | pan | zoom box | query rect |<br>----------------------+-----------+-----------+-------------+----------<br>right click | menu? | | |
<br>----------------------+-----------+-----------+-------------+----------<br>right double click | | | |<br>----------------------+-----------+-----------+-------------+----------<br>right click-and-drag | | | |
<br>----------------------+-----------+-----------+-------------+----------<br><br>The intention would be to have all this in kaNavigator so that<br>kaQuery would not be required, but possibly make the query actions<br>optional.
<br><br>I think we should reserve the right click stuff for a possible<br>context menu.<br><br>Further discussion required :)<br><br>Paul<br><br>On 10-Jan-06, at 2:56 PM, Josh Livni wrote:<br><br>> Personally, I actually like the double-click recentering and
<br>> zooming in, a la virtual earth.<br>><br>> Also in VE (now <a href="http://local.live.com">http://local.live.com</a>) they have right-click<br>> options. While I know most users never touch the right mouse
<br>> button, I know I'd love the ability to switch between things (eg<br>> query and pan) with a button, rather than needing to mouse over and<br>> click some icon.<br>><br>> Even better: The default is panning, but when you hold the space
<br>> key, it queries.<br>><br>> My ulterior motive here is that while I know the idea is to get the<br>> interface as intuitive as possible (keeping in mind 'Google Maps<br>> compatibility'), I also like the current ability to query areas
<br>> with the rubber-band box, for queries where you might want results<br>> back for many shapes at a time.<br>><br>> Anyway, given I'm not contributing the code here, I'll just end by<br>> saying I'm happy with whatever you guys choose - keep up the fine
<br>> work!<br>><br>> -Josh<br>><br>><br>> Dean Gadoury wrote:<br>>> I think the double click should recenter, just like Google Maps.<br>>> Tim Schaub wrote:<br>>>> I like the idea of-
<br>>>><br>>>> Pan: click-n-drag Zoom: roll (or buttons)<br>>>> Query: double-click<br>>>><br>>>> Seems fast and intuitive.<br>>>><br>>>> Tim<br>>>><br>
>>><br>>>>> -----Original Message-----<br>>>>> From: <a href="mailto:ka-map-users-bounces@lists.maptools.org">ka-map-users-bounces@lists.maptools.org</a> [mailto:<a href="mailto:ka-map-">ka-map-
</a><br>>>>> <a href="mailto:users-bounces@lists.maptools.org">users-bounces@lists.maptools.org</a>] On Behalf Of Paul Spencer<br>>>>> Sent: Tuesday, January 10, 2006 10:16 AM<br>>>>> To: Brent Pedersen
<br>>>>> Cc: <a href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</a><br>>>>> Subject: Re: [ka-Map-users] auto query<br>>>>><br>>>>> Comments requested from community on desirability of this
<br>>>>> feature being made part of ka-map cvs please :)<br>>>>><br>>>>> If I get some generally positive responses then I'll negotiate<br>>>>> with Brent to get this into cvs.
<br>>>>><br>>>>> Cheers<br>>>>><br>>>>> Paul<br>>>>><br>>>>> On 10-Jan-06, at 12:14 AM, Brent Pedersen wrote:<br>>>>><br>>>>>
<br>>>>>> hmmm, you're right--i wonder if that will be the case without<br>>>>>> the alert(). i was keying off mousedown and mouseup, but maybe<br>>>>><br>>>>> i can just
<br>>>>>> use onclick??<br>>>>>><br>>>>>><br>>>>>> On 1/9/06, Stephen Woodbridge <<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>> wrote:
<br>>>>>> Looks nice, but it has broken the double click to recenter.<br>>>>>><br>>>>>> -Steve<br>>>>>><br>>>>>> Brent Pedersen wrote:<br>>>>>>
<br>>>>>>> hi,<br>>>>>>> the new updates to kaMap are looking great, thanks all!<br>>>>>>><br>>>>>>> the main issue i hear from users of kaMap is that it's not
<br>>>>>><br>>>>>> intuitive to<br>>>>>><br>>>>>>> switch between navigate and query mode (darned google maps!).<br>>>>>>> so i added a check in kaNavigator. if the mouseup event occurs
<br>>>>>><br>>>>>> near a<br>>>>>><br>>>>>>> mousedown event (within 3 pixels, but easily changed),<br>>>>><br>>>>> assume its a<br>>>>>
<br>>>>>>> query, and send the coords to the myQuery function. else the<br>>>>>><br>>>>>> mouseup and<br>>>>>><br>>>>>>> mousedown events are far apart, it must be a drag, so
<br>>>>><br>>>>> carry on as<br>>>>>> usual.<br>>>>>><br>>>>>>> obviously this only works for point queries, but it avoids<br>>>>>>> turning
<br>>>>>>> kaNavigator on and off to do simple queries.<br>>>>>>><br>>>>>>> it only requires one extra line in startUp.js:<br>>>>>>><br>>>>>>>
myKaNavigator.setAutoQuery(1,myQuery);<br>>>>>>><br>>>>>>> where myQuery is the function that is called if the<br>>>>><br>>>>> mouseup/down are<br>>>>>
<br>>>>>>> near. if that function is not called or it is recalled<br>>>>><br>>>>> with 0, the<br>>>>><br>>>>>>> kaMap navigation will behave as before.
<br>>>>>>><br>>>>>>> a working example (with the default alert() in myQuery) and the<br>>>>>><br>>>>>> modified<br>>>>>><br>>>>>>>
kaTool.js are currently at:<br>>>>>>><br>>>>>>> <a href="http://mul-115-1.cnr.berkeley.edu/fire/geoFRAP/map/htdocs/">http://mul-115-1.cnr.berkeley.edu/fire/geoFRAP/map/htdocs/</a><br>>>>>>>
<br>>>>>>> may be useful.<br>>>>>>> -brent<br>>>>>>><br>>>>>>><br>>>>>>><br>>>>>><br>>>>> --------------------------------------------------------------
<br>>>>> --------<br>>>>>> --<br>>>>>><br>>>>>>> _______________________________________________<br>>>>>>> ka-Map-users mailing list<br>>>>>>>
<a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>>>>>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br>>>>>><br>>>>>> _______________________________________________<br>>>>>> ka-Map-users mailing list<br>>>>>> <a href="mailto:ka-Map-users@lists.maptools.org">
ka-Map-users@lists.maptools.org</a><br>>>>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>>>>>><br>>>>>> _______________________________________________
<br>>>>>> ka-Map-users mailing list<br>>>>>> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>>>>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">
http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>>>>><br>>>>> +-----------------------------------------------------------------+<br>>>>> |Paul Spencer
<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>>>>> +-----------------------------------------------------------------+<br>>>>> |Applications & Software Development |
<br>>>>> |DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>>>>> +-----------------------------------------------------------------+<br>
>>>><br>>>>><br>>>>><br>>>>><br>>>>> _______________________________________________<br>>>>> ka-Map-users mailing list<br>>>>> <a href="mailto:ka-Map-users@lists.maptools.org">
ka-Map-users@lists.maptools.org</a><br>>>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>>>>><br>>>><br>
>>><br>>>> _______________________________________________<br>>>> ka-Map-users mailing list<br>>>> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>
>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>>> _______________________________________________<br>>> ka-Map-users mailing list
<br>>> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br>><br>><br>> _______________________________________________<br>> ka-Map-users mailing list<br>> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">
http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>><br><br>+-----------------------------------------------------------------+<br>|Paul Spencer <a href="mailto:pspencer@dmsolutions.ca">
pspencer@dmsolutions.ca</a> |<br>+-----------------------------------------------------------------+<br>|Applications & Software Development |<br>|DM Solutions Group Inc
<a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+<br><br><br><br><br>_______________________________________________<br>ka-Map-users mailing list
<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br>