ia.AGOLData Class
Contains information about a report.
Constructor
ia.AGOLData
()
Item Index
Methods
Properties
Methods
buildGeography
-
agolGeography -
callbackFunction
Builds a geography.
Parameters:
-
agolGeographyJSONThe AGOL Geography.
-
callbackFunctionFunctionThe call back function.
buildIndicator
-
iaGeography -
agolIndicator
Builds an indicator or associate.
Parameters:
-
iaGeographyJSONAn IA Geography.
-
agolIndicatorJSONThe AGOL indicator or associate.
Returns:
buildThemes
-
iaGeography -
iaParent -
agolThemes
Builds a geography.
Parameters:
-
iaGeographyJSONAn IA Geography.
-
iaParentJSONThe parent of these themes. An IA Geography or IA Theme.
-
agolThemesJSONA list of AGOL Themes.
getAttributeData
-
url -
fieldNames -
callbackFunction
Gets the attribute data for the given objectIds from a FeatureServer.
Parameters:
-
urlStringThe url of the FeatureServer.
-
fieldNamesStringThe field names to get attributes data for.
-
callbackFunctionFunctionThe 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:
-
iaGeographyJSONAn IA Geography.
-
callbackFunctionFunctionThe call back function.
Returns:
loadSource
-
url -
callbackFunction
Loads and parses the source file then calls the given function.
Parameters:
-
urlStringThe url to the data.
-
callbackFunctionFunctionThe call back function.
parseData
-
agolData -
callbackFunction
Parses AGOL "data" JSON into IA "data" JSON.
Parameters:
-
agolDataJSONThe AGOL data file.
-
callbackFunctionFunctionThe call back function.
readCsvFile
-
idField -
features -
iaIndicator -
callbackFunction
Reads in a csv file.
Parameters:
-
idFieldStringThe feature id field.
-
featuresJSONThe list of features.
-
iaIndicatorJSONAn IA Indicator.
-
callbackFunctionFunctionThe call back function.
Properties
iaData
JSON
The raw json data describing the IA attribute data.