ia.AGOLData Class
Contains information about a report.
Constructor
ia.AGOLData
()
Item Index
Methods
Properties
Methods
buildGeography
-
agolGeography
-
callbackFunction
Builds a geography.
Parameters:
-
agolGeography
JSONThe AGOL Geography.
-
callbackFunction
FunctionThe call back function.
buildIndicator
-
iaGeography
-
agolIndicator
Builds an indicator or associate.
Parameters:
-
iaGeography
JSONAn IA Geography.
-
agolIndicator
JSONThe AGOL indicator or associate.
Returns:
buildThemes
-
iaGeography
-
iaParent
-
agolThemes
Builds a geography.
Parameters:
-
iaGeography
JSONAn IA Geography.
-
iaParent
JSONThe parent of these themes. An IA Geography or IA Theme.
-
agolThemes
JSONA list of AGOL Themes.
getAttributeData
-
url
-
fieldNames
-
callbackFunction
Gets the attribute data for the given objectIds from a FeatureServer.
Parameters:
-
url
StringThe url of the FeatureServer.
-
fieldNames
StringThe field names to get attributes data for.
-
callbackFunction
FunctionThe call back function.
Returns:
getObjectIds
-
iaGeography
-
callbackFunction
Gets the object ids and the maxRecordCount of the FeatureServer.
The maxRecordCount is the maximum number of records that a FeatureServer will return.
Parameters:
-
iaGeography
JSONAn IA Geography.
-
callbackFunction
FunctionThe call back function.
Returns:
loadSource
-
url
-
callbackFunction
Loads and parses the source file then calls the given function.
Parameters:
-
url
StringThe url to the data.
-
callbackFunction
FunctionThe call back function.
parseData
-
agolData
-
callbackFunction
Parses AGOL "data" JSON into IA "data" JSON.
Parameters:
-
agolData
JSONThe AGOL data file.
-
callbackFunction
FunctionThe call back function.
readCsvFile
-
idField
-
features
-
iaIndicator
-
callbackFunction
Reads in a csv file.
Parameters:
-
idField
StringThe feature id field.
-
features
JSONThe list of features.
-
iaIndicator
JSONAn IA Indicator.
-
callbackFunction
FunctionThe call back function.
Properties
iaData
JSON
The raw json data describing the IA attribute data.