Commit ce4ceb5d authored by Peter Knoop's avatar Peter Knoop
Browse files

Changed URL for data feature layer to running 30-day counts.

parent f03660fc
......@@ -117,7 +117,9 @@ require([
// Create a layer from Perry's alert and Yale's opinion data at the level of Congressional Districts (115th).
const layer = new FeatureLayer({
//url: 'https://services1.arcgis.com/4ezfu5dIwH83BUNL/arcgis/rest/services/Yale_Congressional_District_115_Level/FeatureServer/0',
url: 'https://services1.arcgis.com/4ezfu5dIwH83BUNL/arcgis/rest/services/Yale_Perry_115_Congressional_Districts/FeatureServer/0',
//url: 'https://services1.arcgis.com/4ezfu5dIwH83BUNL/arcgis/rest/services/Yale_Perry_115_Congressional_Districts/FeatureServer/0',
// Running 30-Day Counts of Alerts. Feature layer is ideally being udpated early every morning.
url: 'https://services1.arcgis.com/4ezfu5dIwH83BUNL/arcgis/rest/services/Running30_Opinions_115th/FeatureServer/0'
//popupTemplate: popupTemplate,
//outFields: ['NAME', 'TotalPop', 'happening', 'happeningOppose'],
outFields: ['*'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment