diff --git a/app/assets/javascripts/maps.js.coffee b/app/assets/javascripts/maps.js.coffee
index 0fab8654095b436bcc2870c96882ae36c7d370f3..c5899323e8d54436a32bf75281d00d7cb61be420 100644
--- a/app/assets/javascripts/maps.js.coffee
+++ b/app/assets/javascripts/maps.js.coffee
@@ -7,17 +7,19 @@ $(document).ready ->
     ).addTo map
 
     $.getJSON $(this).data('url') + location.search, (json) ->
-      layer = L.geoJson(json,
+      layer = L.geoJson json,
         onEachFeature: (feature, layer) ->
           # Does this feature have a property named popupContent?
           if (feature.properties && feature.properties.popupContent)
             layer.bindPopup feature.properties.popupContent
-      )
 
       map.addLayer L.markerClusterGroup().addLayer layer
 
-      # Automatic focus to all displayed events
-      map.fitBounds layer.getBounds()
+      if (layer.getBounds()._northEast && layer.getBounds()._southWest)
+        # Automatic focus to all displayed events
+        map.fitBounds layer.getBounds()
+      else
+        $('#map.events').remove()
 
   $('#map.event').each ->
     coord = [$(this).data('latitude'), $(this).data('longitude')]
@@ -29,12 +31,11 @@ $(document).ready ->
     ).addTo map
 
     $.getJSON $(this).data('url') + location.search, (json) ->
-      layer = L.geoJson(json,
+      layer = L.geoJson json,
         onEachFeature: (feature, layer) ->
           # Does this feature have a property named popupContent?
           if (feature.properties && feature.properties.popupContent)
             layer.bindPopup(feature.properties.popupContent)
-      )
 
       map.addLayer L.markerClusterGroup().addLayer layer