Skip to content

Commit cd71c9f

Browse files
authored
Update README.md
1 parent aa1c46a commit cd71c9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Week 3/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,20 +322,20 @@ var view = new SceneView({
322322
6. (**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
```
340340
and adding these fields to the FeatureLayer definition.
341341
```

0 commit comments

Comments
 (0)