A class for handling the selection and loading of AFFHT maps.

Methods

_createDotDensityRenderer

(
  • dotValue
  • fields
)

Parameters:

  • dotValue String
  • fields Array

buildJurisdictionList

(
  • state
)

Constructs the UI pick list from the results of the jurisdiction query.

Parameters:

  • state String

buildWebMapJson

(
  • mapTitle
  • mapDesc
)

Parameters:

  • mapTitle String
  • mapDesc String

getQueryVariable

(
  • queryString,
)

Parameters:

  • queryString, String, string

    queryVariable

initialize

(
  • options
)

Parameters:

  • options Object

loadMap

()

Builds the AFFHT web map based on the user input.

loadMapFromInput

(
  • mapInfo
)

Triggers the MapSelector to load a map from outside input (as opposed to the MapSelector GUI).

Parameters:

  • mapInfo Object

processMapSelection

()

Pre-processes the map selection to validate inputs and determine if a map variation choice is needed.

queryJurisdictionGeometry

(
  • callback
)

Parameters:

  • callback Function

queryRegionByJurisdiction

(
  • jurisdiction
)

Parameters:

  • jurisdiction String

renderToc

()

Builds the Table of Contents (TOC) based on the current state of the map.

setLayerPopups

()

Sets the popup content for the layers specified by configuration.

setThematicLayers

()

Calculates and applies a ClassBreaks renderer for the layers specified by configuration.

toggleAoi

(
  • d
)

Toggles the application area of interest between the jurisdiction and region of the selected grantee.

Parameters:

  • d Deferred