# How to Navigate/Move the Map using Arrow Key?

**URL:** <https://community.thinkgeo.com/t/how-to-navigate-move-the-map-using-arrow-key/7035>\
**Category:** Silverlight\
**Created:** [March 9, 2014, 10:30am UTC](https://community.thinkgeo.com/t/how-to-navigate-move-the-map-using-arrow-key/7035 "2014-03-09T10:30:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [March 11, 2014, 3:36am UTC](https://community.thinkgeo.com/t/how-to-navigate-move-the-map-using-arrow-key/7035/5 "2014-03-11T03:36:03Z")

</div>

Hi&nbsp;Anggi,&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;don’t&nbsp;support&nbsp;keyboard&nbsp;pan&nbsp;for&nbsp;silverlight&nbsp;edition.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;But&nbsp;you&nbsp;can&nbsp;implement&nbsp;that&nbsp;by&nbsp;add&nbsp;event&nbsp;like&nbsp;this:&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;` Map1.KeyDown += new KeyEventHandler(Map1_KeyDown);    void Map1_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)        {            if (e.Key == System.Windows.Input.Key.Left)            {                Map1.Pan(PanDirection.Left, 20);            }            else if (e.Key == System.Windows.Input.Key.Right)            {                Map1.Pan(PanDirection.Right, 20);            }        }`&nbsp;  
&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;You&nbsp;should&nbsp;make&nbsp;sure&nbsp;the&nbsp;map&nbsp;control&nbsp;always&nbsp;get&nbsp;focus&nbsp;if&nbsp;you&nbsp;follow&nbsp;this&nbsp;way.&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;&nbsp;  
&nbsp;&nbsp;  
&nbsp;Don

---

_[View the full topic](https://community.thinkgeo.com/t/how-to-navigate-move-the-map-using-arrow-key/7035)._
