     @plot_view.ctx.stroke()
     @render_end()
     return null
-
-
 window.overlay_render = 0
-class ZoomToolView extends PlotWidget
-  initialize : (options) ->
-    super(options)
-
-  mouse_coords : () ->
-    plot = @plot_view.d3plotwindow
-    [x, y] = d3.mouse(plot[0][0])
-    [x, y] = [@plot_model.rxpos(x), @plot_model.rypos(y)]
-    return [x, y]
-
-  _zoom_mapper : (mapper, eventpos, factor) ->
-    screen_range = mapper.get_ref('screen_range')
-    data_range = mapper.get_ref('data_range')
-    screenlow = screen_range.get('start')
-    screenhigh = screen_range.get('end')
-    start = screenlow - (eventpos - screenlow) * factor
-    end = screenhigh + (screenhigh - eventpos) * factor
-    [start, end] = [mapper.map_data(start), mapper.map_data(end)]
-    data_range.set({
-      'start' : start
-      'end' : end
-    }, {'local' : true})
-
-  _zoom : () ->
-    [x, y] = @mouse_coords()
-    factor = - @mget('speed') * d3.event.wheelDelta
-    xmappers = (@model.resolve_ref(mapper) for mapper in @mget('xmappers'))
-    ymappers = (@model.resolve_ref(mapper) for mapper in @mget('ymappers'))
-    for xmap in xmappers
-      @_zoom_mapper(xmap, x, factor)
-    for ymap in ymappers
-      @_zoom_mapper(ymap, y, factor)
-
-  bind_events : (plotview) ->
-    @plotview = plotview
-    node = d3.select(@plot_view.el)
-    node.attr('pointer-events' , 'all')
-    node.on("mousewheel.zoom"
-      ,
-        () =>
-          @_zoom()
-          d3.event.preventDefault()
-          d3.event.stopPropagation()
-    )
 
 Bokeh.PlotWidget = PlotWidget
 Bokeh.PlotView = PlotView

      overlayspec['options']['rendererviews'] = []
      for renderer in overlay.get('renderers')
        overlayspec['options']['rendererviews'].push(@renderers[renderer.id])
    build_views(@model, @overlays, overlays,
        plot_id : @id,
        plot_model : @model
        plot_view : @)

  bind_overlays : ->
    for overlayspec in @mget('overlays')

  tagName : 'div'
  className:"gridplot_container"
  
  default_options : { scale:1.0}
  initialize : (options) ->
    super(_.defaults(options, @default_options))
    @childviews = {}
