     else
       state = state.concat( [flycam.getZoomStep().toFixed(2)] )
 
-    location.href = @baseUrl + "#" + state.join(",")
+    return @baseUrl + "#" + state.join(",")


  startUrlUpdater : ->

    update = => @buildUrl()

    setInterval update, 1000


  buildUrl : ->


class UrlManager


  UPDATE_INTERVAL : 2000

  constructor : (@controller, @model) ->

