module csComp.Services {
    'use strict';

    export class WmsSource implements ILayerSource
    {
      title = "wms";
      service : LayerService;

      init(service : LayerService){
        this.service = service;
      }

      public addLayer(layer : ProjectLayer, callback : Function)
      {
        var wms        : any = L.tileLayer.wms(layer.url, {
            layers     : layer.wmsLayers,
            opacity    : layer.opacity/100,
            format     : 'image/png',
            transparent: true,
            attribution: layer.description
          });
        layer.layerRenderer = "wms";
        callback(layer);
        //this.$rootScope.$apply();
      }

      removeLayer(layer : ProjectLayer)
      {

      }

    }

  }

module csComp.Services {
    'use strict';

    export class WmsSource implements ILayerSource
    {
      title = "wms";
      service : LayerService;

      init(service : LayerService){
        this.service = service;
      }

      public addLayer(layer : ProjectLayer, callback : Function)
      {
        var wms        : any = L.tileLayer.wms(layer.url, {
            layers     : layer.wmsLayers,
            opacity    : layer.opacity/100,
            format     : 'image/png',
            transparent: true,
            attribution: layer.description
        });
        
        callback(layer);
        //this.$rootScope.$apply();
      }

      removeLayer(layer : ProjectLayer)
      {

      }

    }

  }

--- 
+++ 
@@ -18,8 +18,8 @@
             format     : 'image/png',
             transparent: true,
             attribution: layer.description
-        });
-        
+          });
+        layer.layerRenderer = "wms";
         callback(layer);
         //this.$rootScope.$apply();
       }
Fix for showing wms layers
