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

class visualization.Paths

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

    @items.find (item, index, array) ->
      item.name == name

  # Check if paths are valid
  valid: () ->
    @items.length > 0

