       # if the geocode failed because the position was unavailable or the request timed out, raise an alert
       when 2, 3 then AlertService.danger(ErrorService.getError('GEOLOCATION_ERROR'))
       else
-        return
+        return $scope.setLoaded $scope
 
 
   reverseGeocode = (position) ->

          req.bounds = new google.maps.LatLngBounds(sw, ne)

        new google.maps.Geocoder().geocode req, (results, status) ->
          $scope.prms = prms

          $scope.geocoder_result = results[0] if results.length > 0 and status is 'OK'


          $scope.reverse_geocode_address += ', ' + ac.long_name if ac.types.indexOf("locality") >= 0
          $scope.address = $scope.reverse_geocode_address
        searchSuccess($scope.geocoder_result)
      $scope.setLoaded $scope

  $scope.increaseRange = () ->
    $scope.range_limit = Infinity
