Example of setting up OpenLayers with many layers defined.
See maps.compton.nu for a leaflet example