   
   # Creates the Polyline to rendered on the map
   # The Polyline map attribute will be null until render is called
+  # We set listeners up in drawLink because they need to be re-attached anytime
+  # the link is re-drawn
   _drawLink: ->
     @hideLink() if @link? #if you are applying offset to existing line
     linkGeom = @model.geometry()

      strokeOpacity: 0.6
      strokeWeight: @getLinkStrokeWeight()
    })
  
  # Context Menu
  # Create the link Context Menu. The menu items are stored with their events
  # in an array and con be configired in the menu-data.coffee file.  We create

    $a.broker.on("map:clear_network:#{@network.cid}", @clearSelected, @)
    $a.broker.on("link:view_demands:#{@model.cid}", @viewDemands, @)
    $a.broker.on("map:open_editor:#{@model.cid}", @_editor, @)
  
  render: ->
    @link.setMap($a.map)
    @
