Programming with JViews Maps > Creating a Map Application Using the API > Map GUI Interactors > Pan

pan.png The IlvMapPanInteractor allows the user to pan a manager view by pressing and holding the space key. Once installed, it is always available.
To create this interactor and attach it to a IlvManagerView, you can use the following code:
IlvManagerView view = ...
...
IlvMapPanInteractor pan = new IlvMapPanInteractor();
pan.setView(view);