     # create GUI
     modelRadius = @model.route.getActiveNodeRadius()
     @settings = 
-      upload : @uploadNML
-      download : => window.open(routes.controllers.admin.NMLIO.downloadList().url,
-                                "_blank", "width=700,height=400,location=no,menubar=no")
       
       position : "#{initPos[0]}, #{initPos[1]}, #{initPos[2]}"
       lockZoom: data.lockZoom

    pos = [parseInt(stringArray[0]), parseInt(stringArray[1]), parseInt(stringArray[2])]
    @flycam.setGlobalPos(pos)

  uploadNML : =>
    # Create dummy input field
    input = $("<input>", type : "file")
    input.trigger("click")
    input.on("change", (evt) ->
      file = evt.target.files[0]
      Request.send(
        _.extend(routes.controllers.admin.NMLIO.upload(),
          formData :
            nmlFile : file
        )
      ).done -> window.location.reload()
    )

  updateGlobalPosition : =>
    pos = @flycam.getGlobalPos()
    @settings.position = Math.round(pos[0]) + ", " + Math.round(pos[1]) + ", " + Math.round(pos[2])

libs/datgui/dat.gui : DatGui
libs/request : Request
libs/event_mixin : EventMixin
view/toast : Toast
###

