Demonstrate how to use the KeyboardDefaults option parameter for layer types.
|zoom out||pan north||zoom in|
|pan west||pan east|
Navigate the map in one of three ways:
This is an example of using alternate methods to control panning and zooming. This approach uses map.pan() and map.zoom(). You'll note that to pan, additional math is necessary along with map.size() in order to set the distance to pan.