Panel Control Demo

How to use this demo:
  • Drag to pan, use the mouse wheel to zoom in and out.
  • Use the drop-down list to change the map size.
  • Use the panel controls to show or hide the pan-zoom-controller, zoom in or out or zoom to the maximum scale.


This demo reuses the map content of the Web Map Context demo (see viewContext.xml). However, it uses a different configuration which includes a map size control and a panel with a number of simple map tools (pan-zoom-controller, pan, zoom in or out and zoom to maximum scale).

Please see the config.xml file for more details on the configuration.

See the Panel Control Tutorial for more information.