i've fixed an example that modifies the CVS ka-Map as little as possible:<br>
<br>
<a href="http://128.32.253.220/qkaMap/ka-map/htdocs/">http://128.32.253.220/qkaMap/ka-map/htdocs/</a><br><br>
switching between pan/query mode via the toolbar works as in CVS version.<br>
<br>
<br><div><span class="gmail_quote">On 1/10/06, <b class="gmail_sendername">Josh Livni</b> <<a href="mailto:josh@livniconsulting.com">josh@livniconsulting.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Personally, I actually like the double-click recentering and zooming in,<br>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 options.<br>While I know most users never touch the right mouse button, I know I'd
<br>love the ability to switch between things (eg query and pan) with a<br>button, rather than needing to mouse over and click some icon.<br><br>Even better: The default is panning, but when you hold the space key,<br>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 with the<br>
rubber-band box, for queries where you might want results back for many<br>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 work!
<br><br> -Josh<br><br><br>Dean Gadoury wrote:<br>> I think the double click should recenter, just like Google Maps.<br>><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><br>>>> [mailto:<a href="mailto:ka-map-users-bounces@lists.maptools.org">ka-map-users-bounces@lists.maptools.org</a>] On Behalf Of Paul<br>>>> 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 feature
<br>>>> being made part of ka-map cvs please :)<br>>>><br>>>> If I get some generally positive responses then I'll negotiate with<br>>>> 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 the
<br>>>>> 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 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></blockquote></div><br>