     @x_mapper = this.map_frame.get('x_mappers')['default']
     @y_range = @map_plot.get('y_range')
     @y_mapper = this.map_frame.get('y_mappers')['default']
-    @renderer.plot_view.$el.dblclick(@_on_dblclick)
-
-
+    @renderer.listenTo(@renderer, 'doubletap', @_doubletap)
 
   _map_data: () ->
-    # @sw = @sdist(@renderer.xmapper, [0], [@tile_provider.tile_size], 'edge', [true])[0]
-    # @sh = @sdist(@renderer.ymapper, [0], [@tile_provider.tile_size], 'edge', [true])[0]
     if not @map_initialized?
       @initial_extent = [-20037508.34, -20037508.34, 20037508.34, 20037508.34 ]
       zoom_level = @tile_provider.get_level_by_extent(@initial_extent, @map_frame.get('height'), @map_frame.get('width'))


  display_defaults: ->
    return _.extend {}, super(), {
      level: 'glyph'
      tile_provider: "WMTSTileProvider"
      url: "http://c.tile.openstreetmap.org/{Z}/{X}/{Y}.png"
      tile_size: 256

    for ty in [tymax..tymin] by -1
      for tx in [txmin..txmax] by 1
        tiles.push([tx, ty, level, @get_tile_meter_bounds(tx, ty, level)])
        tiles = @sort_tiles_from_center(tiles, [txmin, tymin, txmax, tymax])
    return tiles

  quadkey_to_tile_xyz: (quadKey) ->
