Followup styling fixes (#335)

* Followup to add proper score property to popup
* Adding Additional property name constants
This commit is contained in:
Nat Hillard 2021-07-13 11:17:49 -04:00 committed by GitHub
commit 6c8d71c5b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 9 deletions

View file

@ -63,7 +63,7 @@ const J40Map = () => {
source: feature.source,
sourceLayer: feature.sourceLayer,
id: feature.id,
}, {selected: isSelected});
}, {[constants.SELECTED_PROPERTY]: isSelected});
if (isSelected) {
selectedFeature.current = feature;
} else {