       subject.zooniverse_id = itemId
     latlng = new L.LatLng(item.dec, item.ra)
     circle = (c for c in @circles when c.zooniverse_id is itemId)[0]
-
     @selectSubject circle
-
 
   # Events
   selectSubject: (circle) =>


  constructor: (opts) ->
    super opts
    @circles = []
    @limit = @limit or 30

  start: =>
    console.log @dimensions
    if @map
      @map.invalidateSize()
    else
      @createSky()
      @plotObjects() if @dimensions.id.top(Infinity)
    
  createSky: =>
    @map = L.map(@el.attr('id'), Map.mapOptions).setView([0, 180], 6)
    @layer = L.tileLayer('/tiles/#{zoom}/#{tilename}.jpg',
      maxZoom: 7
    )
    @layer.getTileUrl = (tilePoint) ->

        }
    
    circle = new L.marker(coords, options)
    circle.uid = subject.uid
    
    circle.addTo(@map)
      .bindPopup('etc')
