       ROUTE = result.routes[0]
       callback(routeToPolygon(ROUTE, search_params.radius))
 
-      gmap.directionsRenderer.setDirections(result)
+      directionsRenderer.setDirections(result)
+      directionsRenderer.setMap(gmap)
     else
       msg = 'Nie znaleziono trasy! Spróbuj ponownie.'
       if envConfig.development

print_has_prompted = false
ready_to_print = false
template = false

show_content_window = (marker, content) ->
  if marker.info_window

            loadRelics search_params

      loadRelics Object.clone(search_params)
  else
    directionsRenderer.setMap(null)

  false
, 50
