Affht.AffhtToolsController Class
A class that is responsible for the instantiation, management, and interactions between the various AFFHT components.
Constructor
Affht.AffhtToolsController
()
Item Index
Methods
_authenticateUserToken
()
private
Extracts and validates a user token if one exists in the application url.
_bindEventHandlers
()
private
Binds application handlers to the appropriate events. For initialization only.
_initialize
()
private
Private method acting as an extension to the constructor.
_processSaveMap
()
private
Private method that Handles the save map form button click event.
_validateEnhancedLoad
()
private
A method to process the enhanced loading capabilities of the application.
buildWebMapJson
(
-
mapTitle
-
mapDesc
Builds a JSON representation of the current live map based on Esri's WebMapJson format.
Parameters:
-
mapTitle
String -
mapDesc
String
generatePrintLayout
()
generateTableExport
()
Generate a table report for export.
getQueryVariable
(
-
queryString,
A utility method for parsing input objects from the application url query string.
Parameters:
-
queryString,
String, stringqueryVariable
hideUI
()
Hide the application UI.
hideUI
()
initialize
(
-
options
Parameters:
-
options
Object
showUI
()
showUI
()
Show the application UI.