File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -322,20 +322,20 @@ var view = new SceneView({
3223226. (**Challenge**) In preparation for next week:
323323- Add a popup to the [ca-traffic-from-feature-layer](https://codepen.io/gbrunner/pen/GRjQYEz) CodePen. This can be done by defining a template:
324324```
325- var template = { // autocasts as new PopupTemplate()
325+ var template = { // autocasts as new PopupTemplate()
326326 title: "What Happened?",
327327 content: [{
328328 // It is also possible to set the fieldInfos outside of the content
329329 // directly in the popupTemplate. If no fieldInfos is specifically set
330330 // in the content, it defaults to whatever may be set within the popupTemplate.
331331 type: "fields",
332332 fieldInfos: [{
333- fieldName: "Descriptn ",
334- label: "Description % ",
333+ fieldName: "CollisnTyp ",
334+ label: "Collision Type ",
335335 visible: true
336336 }]
337337 }]
338- };
338+ };
339339```
340340and adding these fields to the FeatureLayer definition.
341341```
You can’t perform that action at this time.
0 commit comments