     window.gmap = new google.maps.Map $('#map_canvas')[0],
       mapTypeId: google.maps.MapTypeId.HYBRID
 
+  gmap.onNextMovement ->
+  gmap.setCenter(new google.maps.LatLng(52, 20))
+  gmap.setZoom(6)
+
   if renderOnly?
     do searchRelics
     return

    event: "on_params_changed", params: store_params()
  ), "*")

  if not search_params.waypoints.isEmpty()
    searchRoute search_params, (polygon) ->
      search_params.polygon = polygon.join(';')
      $('#search_polygon').val(search_params.polygon)

    error: ->
      alert('Nastąpił błąd podczas wyszukiwania zabytków.')

hasValidWaypoints = (waypoints) ->
  waypoints.filter (waypoint) ->
    not waypoint.isBlank()
  .length > 1

debouncedSearchRelics = jQuery.debounce ->
  if $('#search_params').length > 0
    search_params            = $.parseJSON $('#search_params').html()
