<commit_before>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
        });
        <commit_msg>Fix for showing wms layers<commit_after>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";
{'fraction_non_alphanumeric': 0.09293089753772836, 'fraction_numerical': 0.004765687053216839, 'mean_word_length': 1.7510917030567685, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2389766', 'n_tokens_mistral': 353, 'n_tokens_neox': 338, 'n_words': 78}