code: function (xmlDom) {
              // Create a WmsCapabilities object from the XML DOM
              var wms = new WorldWind.WmsCapabilities(xmlDom);
              // Retrieve a WmsLayerCapabilities object by the desired layer name
              var wmsLayerCapabilities = wms.getNamedLayer(layerName);
              // Form a configuration object from the WmsLayerCapability object
              var wmsConfig = WorldWind.WmsLayer.formLayerConfiguration(wmsLayerCapabilities);
              // Modify the configuration objects title property to a more user friendly title
              wmsConfig.title = "Average Surface Temp";
              // Create the WMS Layer from the configuration object
              var wmsLayer = new WorldWind.WmsLayer(wmsConfig);
  
              // Add the layers to WorldWind and update the layer manager
              wwd.addLayer(wmsLayer);
              layerManager.synchronizeLayerList();
          }
docs: Called asynchronously to parse and create the WMS layer