Skip to content

data manager.js

andy.rothwell edited this page Jul 26, 2018 · 5 revisions

data-manager.js

Functions:

constructor(opts)

activeTopicConfig()

fetchMoreData(dataSourceKey, highestPageRetrieved)

didFetchMoreData(key, secondaryStatus, data)

fetchData()

didFetchData(key, status, data, targetId)

resetData()

resetGeocode() - this gets called when the current geocoded address is wiped out, such as when you click on the "Atlas" title and it navigates to an empty hash

checkDataSourcesFetched(paths = [])

checkDataSourceReady(key, options, targetId)

assignFeatureIds(features, dataSourceKey, topicId)

evaluateParams(feature, dataSource) geocode(address)

didGeocode(feature)

getParcelsById(id, parcelLayer)

getParcelsByLatLng(latlng, parcelLayer, fetch)

didGetParcels(error, featureCollection, response, parcelLayer, fetch)

setParcelsInState(parcelLayer, multipleAllowed, feature, featuresSorted)

sortDorParcelFeatures(features)

Clone this wiki locally