 
     issue = new (google.maps.LatLng)(svLongNew, svLatNew)
 
-    svs.getPanoramaByLocation(issue, 200, processSVData(updateInputs, panorama))
+    svs.getPanoramaByLocation(issue, 200, processSVData(panorama))
 
     google.maps.event.addListener panorama, 'position_changed', ->
       updateInputs()

  svs = new google.maps.StreetViewService()
  map = null

  processSVData = (updateInputs, panorama) ->
    (data, status) ->
      if (status == google.maps.StreetViewStatus.OK)
        mapOptions = {

          heading: 270,
          pitch: 0
        })
        map.setStreetView(panorama)
        panorama.setVisible(true)
      else
