<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Given the nature of this extension requiring OpenLayers to be updated, I am reluctant to put it in trunk until the OL dependency is met.  While it works for me, but please consider this experimental and understand you will need a good working knowledge of GeoMoose and its build system to effectively use it.  Also, recognize that there has been little to no testing of GeoMoose against OpenLayers 2.12 so you are on your own.  Also, please do not use this as an example of how to write a proper extension.  That said, for the adventurous and those who don't care (or know how to fix it if it breaks with the next GeoMoose release), enjoy.</div><div><br></div><a href="http://www.geomoose.org/wiki/index.php/Keyboard_Control">http://www.geomoose.org/wiki/index.php/Keyboard_Control</a><div><br><div><div>On Mar 25, 2013, at 3:48 PM, Matej Mailing wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Jim, that sounds great. It would be a very useful addon.<br><br></div>Matej<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/25 Jim Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I've got an extension that enables the OpenLayers Keyboard Controls to pan/zoom the map.  I haven't released it yet because it required a few changes to GeoMoose core that I haven't had time to package up.<div>
<br></div><div>The trickiest part is getting the control to NOT respond when you don't want it to.  (Such as arrow keys in an input field).  This requires OpenLayers 2.12 and a few other minor changes.  If there is interest I can work on packing it up.  My strategy was to activate the keyboard control when one of the pan/zoom in/zoom out tools is active.  The tool deactivates when the user changes tools or moves focus outside of the map.</div>
<div><div class="h5"><div><div><br></div><div><br><div><div>On Mar 25, 2013, at 1:45 PM, Matej Mailing wrote:</div><br><blockquote type="cite"><div dir="ltr"><div><div>Hi,<br><br></div>one interesting addon to your idea would also be to have left/right/up/down arrows with the functionalities. I am not so much into ajax part of the code, but would welcome any progress on that.<br>

<br></div>Regards,<br>Matej<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/24 Boris <span dir="ltr"><<a href="mailto:franticpianist@yahoo.co.uk" target="_blank">franticpianist@yahoo.co.uk</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
I just installed the latest geomoose and ms4w.<br>
And i was wondering if anyone could help me write an extension to use the esc key to deactivate any active tool, or if this had already been done before, or if it is too big a task to be an easy fix?<br>
<br>
Thank you<span><font color="#888888"><br>
Boris<br>
______________________________<u></u>_________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/geomoose-<u></u>users</a><br>
</font></span></blockquote></div><br></div>
_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>
</blockquote></div><br></div></body></html>