     gridSize: 40
 
 renderResults = (search_results, last = true, callback) ->
-  $.each search_results, ->
+  total = search_results.length
+  $.each search_results, (index) ->
     [@id, @latitude, @longitude] = this if Object.isArray(this)
 
     latlng = new google.maps.LatLng(@latitude, @longitude)

      loadRelicInfo @id, (content) ->
        show_content_window(marker, content)

  callback() if callback? && last

# Serialize form to JSON
$.fn.serializeObject = ->

        console.log('`window.print()` doesn’t prompt during development')
      else
        window.print()
    ).delay 3000 # HACK: Wait 3s for markers rendering. Is there a better way? :(
  else
    ready_to_print = true

