Show:

ia.WebMap Class

Defined in: ia\custom\WebMap.js:1
Module: ia

Creates IA data files from an AGOL web map.

Constructor

ia.WebMap

()

Methods

getAttributeData

(
  • url
  • callbackFunction
)
Object

Gets the features and their associated attribute data for the given objectIds of a feature service.

Parameters:

  • url String

    The url of the feature service.

  • callbackFunction Function

    The 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:

  • url JSON

    The url of the feature service.

  • callbackFunction Function

    The 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:

  • url String

    The url of the web map.

  • callbackFunction Function

    The call back function.

parseOperationalLayer

(
  • operationalLayer
  • callbackFunction
)

Parses an operational layer.

Parameters:

  • operationalLayer JSON

    The AGOL operationalLayer.

  • callbackFunction Function

    The call back function.