How to allow panning and zooming of the background map

After defining the GIS Interface manager, to give the users the ability to pan and zoom the background map, you can use the following method:

bgm.allowManipulationOfBackgroundMap(true); 


If the argument is false, then the background map will be fixed and touching it will not cause panning and zooming.
Note that enabling panning and zooming on the background map automatically disables the predefined lasso gesture which is used to open map frames. If you choose to do so, you will have to design a new method for creating map frames.

Last edited Jul 11, 2011 at 10:00 PM by ealafselim, version 3

Comments

No comments yet.