Angular controller

controller source

Methods

confirmSave

Test if current composition can be saved (User permission, Free title of composition) and a) proceed with saving; b) display advanced save dialog; c) show result dialog, with fail message

fillGroups

Send getGroups request to status manager server and process response

focusTitle

getCurrentExtent

Get current extent of map, transform it into EPSG:4326 and save it into controller model

loadUserDetails

Get User info from server and call callback (setUserDetail)

Callback function for clicking Next button, create download link for map context and show save, saveas buttons

open

Initialization of Status Creator from outside of component

selectNewTitle

Callback for saving with new title

setUserDetails (user)

Process user info into controller model, so they can be used in Save composition forms

Parameters

NameTypeDescription
user Object

User object

showResultDialog

Show dialog about result of saving operation