This is an example of using the WMS server with the OpenLayers map widget. View the source of this page to see how it works.

The map below shows color-coded U.S. congressional districts. Change which layer is displayed by changing the layer parameter for the my_layer and my_layer_overlay variables in the script in this page.