       iconAnchor: [13, 41]
     }
 
-  constructor: (opts) ->
-    super opts
+  constructor: (selector) ->
+    super 
     @circles = []
     @limit = @limit or 30
 

BaseTool = window.Ubret.BaseTool or require('./base_tool')

class Map extends BaseTool
  name: 'Map'

  # Set the default image path for Leaflet

    @circles.push circle

  plotObjects: =>
    @map.removeLayer(marker) for marker in @circles
    @circles = new Array
    @plotObject subject for subject in @opts.data

    latlng = new L.LatLng(data[0].dec, data[0].ra)
    @map.panTo latlng
  
window.Ubret.Map = Map