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

    # 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)

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