ia.WebMap Class
Creates IA data files from an AGOL web map.
Constructor
ia.WebMap
()
Item Index
Methods
getAttributeData
(
Object
-
url -
callbackFunction
Gets the features and their associated attribute data for the given objectIds of a feature service.
Parameters:
-
urlStringThe url of the feature service.
-
callbackFunctionFunctionThe call back function.
Returns:
Object:
A list of features and their attributes.
getObjectIds
(
-
url -
callbackFunction
The callbackfunction is returned with the feature service description and the list of objectIds.
Parameters:
-
urlJSONThe url of the feature service.
-
callbackFunctionFunctionThe call back function.
parse
(
-
url -
callbackFunction
Parses the web map referenced by the url. The callbackFunction returns with an iaData object and an iaMapData object.
Parameters:
-
urlStringThe url of the web map.
-
callbackFunctionFunctionThe call back function.
parseOperationalLayer
(
-
operationalLayer -
callbackFunction
Parses an operational layer.
Parameters:
-
operationalLayerJSONThe AGOL operationalLayer.
-
callbackFunctionFunctionThe call back function.