     measure =
       perimeter: g.perimeter()
       area: g.area()
+
+
+    L.extend(L.Draw.Polyline.prototype.options, target: e.marker.getLatLng())
 
     @__tooltipMeasure.__updateTooltipMeasure center, measure, L.Draw.Polyline.prototype.options
 


L.Edit.PolyVerticesEdit.include
  __onTouchMove: L.Edit.PolyVerticesEdit::_onTouchMove

  _onTouchMove: (e) ->
    @__onTouchMove.apply @, arguments

  __addHooks: L.Edit.Poly.prototype.addHooks
  __removeHooks: L.Edit.Poly.prototype.removeHooks

  __onHandlerDrag: (e) ->
    center = @_poly.__getCenter()

    g = new L.GeographicUtil.Polygon @_poly.getLatLngsAsArray()
