     @items.find (item, index, array) ->
       item.name == name
 
-  # Check if categories are valid
+  # Check if paths are valid
   valid: () ->
     @items.length > 0
 

class visualization.Paths

  constructor: (@layer, @data, options = {}) ->

        group.push(crumbLayer)
    group

  # Build HTML legend for given paths computed layer
  buildLegend: () ->
    html  = "<div class='leaflet-legend-item' id='legend-#{@layer.name}'>"
    html += "<h3>#{@layer.label}</h3>"
