Closed jfirebaugh closed 8 years ago
*-width and *-opacity values can validly be 0. 0 is falsy, so a line like 'fill-opacity': feature.properties['fill-opacity'] || 1 will result in fill-opacity getting set to 1 when it should be 0.
*-width
*-opacity
'fill-opacity': feature.properties['fill-opacity'] || 1
*-width
and*-opacity
values can validly be 0. 0 is falsy, so a line like'fill-opacity': feature.properties['fill-opacity'] || 1
will result in fill-opacity getting set to 1 when it should be 0.